esruby 0.0.0 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +6 -6
  3. data/bin/esruby +9 -0
  4. data/lib/esruby.rb +8 -0
  5. data/resources/mruby/build_config.rb +0 -1
  6. data/resources/mruby/mrbgems/mruby-print/mrblib/print.rb +1 -1
  7. data/resources/project_template/app/app.rb +2 -0
  8. data/resources/project_template/config.rb +35 -0
  9. data/resources/project_template/www/index.html +17 -0
  10. metadata +6 -377
  11. data/resources/mruby/bin/mirb +0 -0
  12. data/resources/mruby/bin/mrbc +0 -0
  13. data/resources/mruby/bin/mruby +0 -0
  14. data/resources/mruby/bin/mruby-strip +0 -0
  15. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/README.md +0 -82
  16. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrbgem.rake +0 -63
  17. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrblib/regexp_pcre.rb +0 -232
  18. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrblib/string_pcre.rb +0 -333
  19. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/132html +0 -313
  20. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/AUTHORS +0 -45
  21. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CMakeLists.txt +0 -959
  22. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/COPYING +0 -5
  23. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ChangeLog +0 -4981
  24. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CheckMan +0 -67
  25. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CleanTxt +0 -113
  26. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Detrail +0 -35
  27. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/HACKING +0 -473
  28. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/INSTALL +0 -370
  29. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/LICENCE +0 -92
  30. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Makefile.am +0 -877
  31. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Makefile.in +0 -2917
  32. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NEWS +0 -611
  33. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NON-AUTOTOOLS-BUILD +0 -639
  34. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NON-UNIX-USE +0 -7
  35. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/PrepareRelease +0 -253
  36. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/README +0 -935
  37. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunGrepTest +0 -551
  38. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunTest +0 -1015
  39. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunTest.bat +0 -616
  40. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/aclocal.m4 +0 -1230
  41. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/output.0 +0 -21280
  42. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/output.1 +0 -21280
  43. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/requests +0 -273
  44. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/traces.0 +0 -2421
  45. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/traces.1 +0 -1144
  46. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/COPYING-CMAKE-SCRIPTS +0 -22
  47. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindEditline.cmake +0 -17
  48. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindPackageHandleStandardArgs.cmake +0 -58
  49. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindReadline.cmake +0 -29
  50. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/compile +0 -343
  51. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config-cmake.h.in +0 -54
  52. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.guess +0 -1552
  53. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h +0 -392
  54. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h.generic +0 -392
  55. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h.in +0 -343
  56. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.sub +0 -1804
  57. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/configure +0 -21280
  58. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/configure.ac +0 -1082
  59. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/depcomp +0 -708
  60. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/dftables.c +0 -212
  61. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/index.html +0 -180
  62. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre-config.html +0 -109
  63. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre.html +0 -204
  64. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre16.html +0 -383
  65. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_assign_jit_stack.html +0 -76
  66. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_compile.html +0 -108
  67. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_compile2.html +0 -112
  68. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_config.html +0 -91
  69. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_copy_named_substring.html +0 -65
  70. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_copy_substring.html +0 -61
  71. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_dfa_exec.html +0 -128
  72. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_exec.html +0 -110
  73. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_study.html +0 -46
  74. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_substring.html +0 -46
  75. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_substring_list.html +0 -46
  76. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_fullinfo.html +0 -108
  77. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_named_substring.html +0 -68
  78. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_stringnumber.html +0 -57
  79. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_stringtable_entries.html +0 -60
  80. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_substring.html +0 -64
  81. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_substring_list.html +0 -61
  82. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_exec.html +0 -108
  83. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_stack_alloc.html +0 -55
  84. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_stack_free.html +0 -48
  85. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_maketables.html +0 -48
  86. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_pattern_to_host_byte_order.html +0 -58
  87. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_refcount.html +0 -51
  88. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_study.html +0 -68
  89. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_utf16_to_host_byte_order.html +0 -57
  90. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_version.html +0 -46
  91. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreapi.html +0 -2786
  92. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrebuild.html +0 -517
  93. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecallout.html +0 -243
  94. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecompat.html +0 -216
  95. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecpp.html +0 -368
  96. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcredemo.html +0 -426
  97. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcregrep.html +0 -757
  98. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrejit.html +0 -458
  99. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrelimits.html +0 -86
  100. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrematching.html +0 -233
  101. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrepartial.html +0 -474
  102. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrepattern.html +0 -2953
  103. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreperform.html +0 -195
  104. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreposix.html +0 -292
  105. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreprecompile.html +0 -158
  106. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcresample.html +0 -110
  107. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrestack.html +0 -225
  108. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcresyntax.html +0 -521
  109. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcretest.html +0 -1082
  110. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreunicode.html +0 -270
  111. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/index.html.src +0 -180
  112. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre-config.1 +0 -92
  113. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre-config.txt +0 -86
  114. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre.3 +0 -202
  115. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre.txt +0 -9909
  116. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre16.3 +0 -390
  117. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre32.3 +0 -389
  118. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_assign_jit_stack.3 +0 -61
  119. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_compile.3 +0 -98
  120. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_compile2.3 +0 -106
  121. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_config.3 +0 -76
  122. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_copy_named_substring.3 +0 -59
  123. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_copy_substring.3 +0 -52
  124. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_dfa_exec.3 +0 -125
  125. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_exec.3 +0 -103
  126. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_study.3 +0 -31
  127. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_substring.3 +0 -31
  128. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_substring_list.3 +0 -31
  129. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_fullinfo.3 +0 -95
  130. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_named_substring.3 +0 -62
  131. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_stringnumber.3 +0 -45
  132. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_stringtable_entries.3 +0 -48
  133. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_substring.3 +0 -55
  134. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_substring_list.3 +0 -49
  135. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_exec.3 +0 -104
  136. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_stack_alloc.3 +0 -45
  137. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_stack_free.3 +0 -35
  138. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_maketables.3 +0 -33
  139. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_pattern_to_host_byte_order.3 +0 -46
  140. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_refcount.3 +0 -36
  141. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_study.3 +0 -56
  142. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_utf16_to_host_byte_order.3 +0 -46
  143. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_utf32_to_host_byte_order.3 +0 -46
  144. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_version.3 +0 -31
  145. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreapi.3 +0 -2823
  146. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrebuild.3 +0 -520
  147. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecallout.3 +0 -214
  148. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecompat.3 +0 -185
  149. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecpp.3 +0 -348
  150. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcregrep.1 +0 -679
  151. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcregrep.txt +0 -740
  152. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrejit.3 +0 -437
  153. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrelimits.3 +0 -67
  154. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrematching.3 +0 -206
  155. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrepartial.3 +0 -445
  156. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrepattern.3 +0 -2983
  157. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreperform.3 +0 -177
  158. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreposix.3 +0 -270
  159. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreprecompile.3 +0 -151
  160. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcresample.3 +0 -99
  161. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrestack.3 +0 -215
  162. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcresyntax.3 +0 -496
  163. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcretest.1 +0 -1079
  164. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcretest.txt +0 -1012
  165. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreunicode.3 +0 -255
  166. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/perltest.txt +0 -42
  167. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/install-sh +0 -527
  168. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre.pc.in +0 -12
  169. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre16.pc.in +0 -12
  170. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre32.pc.in +0 -12
  171. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcrecpp.pc.in +0 -12
  172. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcreposix.pc.in +0 -13
  173. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ltmain.sh +0 -9636
  174. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ax_pthread.m4 +0 -309
  175. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/libtool.m4 +0 -7844
  176. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltoptions.m4 +0 -369
  177. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltsugar.m4 +0 -123
  178. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltversion.m4 +0 -23
  179. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/lt~obsolete.m4 +0 -98
  180. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/pcre_visibility.m4 +0 -89
  181. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp.bat +0 -66
  182. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp_c.txt +0 -20
  183. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp_l.txt +0 -20
  184. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/missing +0 -331
  185. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre-config.in +0 -133
  186. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h +0 -653
  187. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h.generic +0 -653
  188. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h.in +0 -653
  189. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_byte_order.c +0 -45
  190. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_chartables.c +0 -45
  191. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_compile.c +0 -45
  192. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_config.c +0 -45
  193. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_dfa_exec.c +0 -45
  194. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_exec.c +0 -45
  195. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_fullinfo.c +0 -45
  196. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_get.c +0 -45
  197. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_globals.c +0 -45
  198. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_jit_compile.c +0 -45
  199. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_maketables.c +0 -45
  200. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_newline.c +0 -45
  201. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_ord2utf16.c +0 -90
  202. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_printint.c +0 -45
  203. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_refcount.c +0 -45
  204. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_string_utils.c +0 -45
  205. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_study.c +0 -45
  206. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_tables.c +0 -45
  207. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_ucd.c +0 -45
  208. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_utf16_utils.c +0 -130
  209. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_valid_utf16.c +0 -156
  210. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_version.c +0 -45
  211. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_xclass.c +0 -45
  212. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_byte_order.c +0 -45
  213. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_chartables.c +0 -45
  214. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_compile.c +0 -45
  215. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_config.c +0 -45
  216. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_dfa_exec.c +0 -45
  217. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_exec.c +0 -45
  218. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_fullinfo.c +0 -45
  219. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_get.c +0 -45
  220. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_globals.c +0 -45
  221. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_jit_compile.c +0 -45
  222. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_maketables.c +0 -45
  223. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_newline.c +0 -45
  224. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_ord2utf32.c +0 -82
  225. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_printint.c +0 -45
  226. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_refcount.c +0 -45
  227. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_string_utils.c +0 -45
  228. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_study.c +0 -45
  229. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_tables.c +0 -45
  230. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_ucd.c +0 -45
  231. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_utf32_utils.c +0 -141
  232. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_valid_utf32.c +0 -131
  233. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_version.c +0 -45
  234. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_xclass.c +0 -45
  235. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_byte_order.c +0 -318
  236. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_chartables.c +0 -198
  237. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_chartables.c.dist +0 -198
  238. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_compile.c +0 -8386
  239. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_config.c +0 -186
  240. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_dfa_exec.c +0 -3582
  241. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_exec.c +0 -7049
  242. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_fullinfo.c +0 -231
  243. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_get.c +0 -662
  244. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_globals.c +0 -84
  245. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_internal.h +0 -2744
  246. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_jit_compile.c +0 -8560
  247. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_jit_test.c +0 -1614
  248. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_maketables.c +0 -151
  249. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_newline.c +0 -210
  250. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_ord2utf8.c +0 -94
  251. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_printint.c +0 -766
  252. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_refcount.c +0 -92
  253. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner.cc +0 -199
  254. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner.h +0 -172
  255. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner_unittest.cc +0 -159
  256. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_string_utils.c +0 -211
  257. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece.cc +0 -43
  258. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece.h.in +0 -179
  259. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece_unittest.cc +0 -150
  260. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_study.c +0 -1562
  261. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_tables.c +0 -655
  262. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_ucd.c +0 -3298
  263. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_valid_utf8.c +0 -312
  264. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_version.c +0 -98
  265. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_xclass.c +0 -198
  266. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp.cc +0 -922
  267. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp.h +0 -710
  268. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp_internal.h +0 -71
  269. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp_unittest.cc +0 -1291
  270. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpparg.h.in +0 -174
  271. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcredemo.c +0 -406
  272. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcregexp.pas +0 -845
  273. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcregrep.c +0 -3180
  274. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcreposix.c +0 -419
  275. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcreposix.h +0 -146
  276. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcretest.c +0 -5488
  277. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/perltest.pl +0 -237
  278. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitConfig.h +0 -110
  279. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitConfigInternal.h +0 -484
  280. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitExecAllocator.c +0 -289
  281. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitLir.c +0 -1766
  282. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitLir.h +0 -985
  283. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeARM_Thumb2.c +0 -2008
  284. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeARM_v5.c +0 -2515
  285. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeMIPS_32.c +0 -404
  286. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeMIPS_common.c +0 -1881
  287. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_32.c +0 -269
  288. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_64.c +0 -421
  289. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_common.c +0 -2014
  290. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeSPARC_32.c +0 -164
  291. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeSPARC_common.c +0 -1348
  292. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_32.c +0 -547
  293. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_64.c +0 -810
  294. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_common.c +0 -2836
  295. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitUtils.c +0 -332
  296. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepbinary +0 -0
  297. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepfilelist +0 -3
  298. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput +0 -611
  299. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput3 +0 -15
  300. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput8 +0 -11
  301. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinputv +0 -4
  302. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinputx +0 -43
  303. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/greplist +0 -7
  304. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutput +0 -707
  305. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutput8 +0 -12
  306. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutputN +0 -17
  307. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/greppatN4 +0 -2
  308. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16 +0 -0
  309. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16BE-1 +0 -0
  310. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16BE-2 +0 -0
  311. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16LE-1 +0 -0
  312. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16LE-2 +0 -0
  313. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32 +0 -0
  314. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32BE-1 +0 -0
  315. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32BE-2 +0 -0
  316. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32LE-1 +0 -0
  317. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32LE-2 +0 -0
  318. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved8 +0 -0
  319. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput1 +0 -5306
  320. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput10 +0 -1337
  321. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput11 +0 -135
  322. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput12 +0 -89
  323. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput13 +0 -9
  324. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput14 +0 -329
  325. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput15 +0 -430
  326. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput16 +0 -35
  327. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput17 +0 -296
  328. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput18 +0 -296
  329. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput19 +0 -22
  330. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput2 +0 -3813
  331. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput20 +0 -19
  332. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput21 +0 -16
  333. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput22 +0 -13
  334. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput23 +0 -16
  335. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput24 +0 -77
  336. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput25 +0 -32
  337. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput26 +0 -80
  338. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput3 +0 -95
  339. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput4 +0 -624
  340. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput5 +0 -772
  341. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput6 +0 -1319
  342. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput7 +0 -672
  343. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput8 +0 -4801
  344. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput9 +0 -717
  345. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinputEBC +0 -121
  346. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput1 +0 -8798
  347. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput10 +0 -2726
  348. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-16 +0 -713
  349. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-32 +0 -713
  350. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-8 +0 -713
  351. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput12 +0 -181
  352. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput13 +0 -21
  353. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput14 +0 -476
  354. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput15 +0 -1269
  355. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput16 +0 -121
  356. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput17 +0 -505
  357. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput18-16 +0 -1022
  358. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput18-32 +0 -1019
  359. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput19 +0 -88
  360. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput2 +0 -12484
  361. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput20 +0 -27
  362. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput21-16 +0 -90
  363. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput21-32 +0 -90
  364. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput22-16 +0 -71
  365. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput22-32 +0 -71
  366. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput23 +0 -42
  367. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput24 +0 -145
  368. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput25 +0 -79
  369. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput26 +0 -148
  370. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput3 +0 -169
  371. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput4 +0 -1094
  372. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput5 +0 -1849
  373. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput6 +0 -2137
  374. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput7 +0 -1473
  375. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput8 +0 -8019
  376. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput9 +0 -1371
  377. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutputEBC +0 -182
  378. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/wintestinput3 +0 -91
  379. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/wintestoutput3 +0 -166
  380. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ucp.h +0 -197
  381. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/run_test.rb +0 -23
  382. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/src/mruby_regexp_pcre.c +0 -364
  383. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/matchdata.rb +0 -94
  384. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/regexp.rb +0 -264
  385. data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/string.rb +0 -201
@@ -1,195 +0,0 @@
1
- <html>
2
- <head>
3
- <title>pcreperform specification</title>
4
- </head>
5
- <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6
- <h1>pcreperform man page</h1>
7
- <p>
8
- Return to the <a href="index.html">PCRE index page</a>.
9
- </p>
10
- <p>
11
- This page is part of the PCRE HTML documentation. It was generated automatically
12
- from the original man page. If there is any nonsense in it, please consult the
13
- man page, in case the conversion went wrong.
14
- <br>
15
- <br><b>
16
- PCRE PERFORMANCE
17
- </b><br>
18
- <P>
19
- Two aspects of performance are discussed below: memory usage and processing
20
- time. The way you express your pattern as a regular expression can affect both
21
- of them.
22
- </P>
23
- <br><b>
24
- COMPILED PATTERN MEMORY USAGE
25
- </b><br>
26
- <P>
27
- Patterns are compiled by PCRE into a reasonably efficient interpretive code, so
28
- that most simple patterns do not use much memory. However, there is one case
29
- where the memory usage of a compiled pattern can be unexpectedly large. If a
30
- parenthesized subpattern has a quantifier with a minimum greater than 1 and/or
31
- a limited maximum, the whole subpattern is repeated in the compiled code. For
32
- example, the pattern
33
- <pre>
34
- (abc|def){2,4}
35
- </pre>
36
- is compiled as if it were
37
- <pre>
38
- (abc|def)(abc|def)((abc|def)(abc|def)?)?
39
- </pre>
40
- (Technical aside: It is done this way so that backtrack points within each of
41
- the repetitions can be independently maintained.)
42
- </P>
43
- <P>
44
- For regular expressions whose quantifiers use only small numbers, this is not
45
- usually a problem. However, if the numbers are large, and particularly if such
46
- repetitions are nested, the memory usage can become an embarrassment. For
47
- example, the very simple pattern
48
- <pre>
49
- ((ab){1,1000}c){1,3}
50
- </pre>
51
- uses 51K bytes when compiled using the 8-bit library. When PCRE is compiled
52
- with its default internal pointer size of two bytes, the size limit on a
53
- compiled pattern is 64K data units, and this is reached with the above pattern
54
- if the outer repetition is increased from 3 to 4. PCRE can be compiled to use
55
- larger internal pointers and thus handle larger compiled patterns, but it is
56
- better to try to rewrite your pattern to use less memory if you can.
57
- </P>
58
- <P>
59
- One way of reducing the memory usage for such patterns is to make use of PCRE's
60
- <a href="pcrepattern.html#subpatternsassubroutines">"subroutine"</a>
61
- facility. Re-writing the above pattern as
62
- <pre>
63
- ((ab)(?2){0,999}c)(?1){0,2}
64
- </pre>
65
- reduces the memory requirements to 18K, and indeed it remains under 20K even
66
- with the outer repetition increased to 100. However, this pattern is not
67
- exactly equivalent, because the "subroutine" calls are treated as
68
- <a href="pcrepattern.html#atomicgroup">atomic groups</a>
69
- into which there can be no backtracking if there is a subsequent matching
70
- failure. Therefore, PCRE cannot do this kind of rewriting automatically.
71
- Furthermore, there is a noticeable loss of speed when executing the modified
72
- pattern. Nevertheless, if the atomic grouping is not a problem and the loss of
73
- speed is acceptable, this kind of rewriting will allow you to process patterns
74
- that PCRE cannot otherwise handle.
75
- </P>
76
- <br><b>
77
- STACK USAGE AT RUN TIME
78
- </b><br>
79
- <P>
80
- When <b>pcre_exec()</b> or <b>pcre[16|32]_exec()</b> is used for matching, certain
81
- kinds of pattern can cause it to use large amounts of the process stack. In
82
- some environments the default process stack is quite small, and if it runs out
83
- the result is often SIGSEGV. This issue is probably the most frequently raised
84
- problem with PCRE. Rewriting your pattern can often help. The
85
- <a href="pcrestack.html"><b>pcrestack</b></a>
86
- documentation discusses this issue in detail.
87
- </P>
88
- <br><b>
89
- PROCESSING TIME
90
- </b><br>
91
- <P>
92
- Certain items in regular expression patterns are processed more efficiently
93
- than others. It is more efficient to use a character class like [aeiou] than a
94
- set of single-character alternatives such as (a|e|i|o|u). In general, the
95
- simplest construction that provides the required behaviour is usually the most
96
- efficient. Jeffrey Friedl's book contains a lot of useful general discussion
97
- about optimizing regular expressions for efficient performance. This document
98
- contains a few observations about PCRE.
99
- </P>
100
- <P>
101
- Using Unicode character properties (the \p, \P, and \X escapes) is slow,
102
- because PCRE has to use a multi-stage table lookup whenever it needs a
103
- character's property. If you can find an alternative pattern that does not use
104
- character properties, it will probably be faster.
105
- </P>
106
- <P>
107
- By default, the escape sequences \b, \d, \s, and \w, and the POSIX
108
- character classes such as [:alpha:] do not use Unicode properties, partly for
109
- backwards compatibility, and partly for performance reasons. However, you can
110
- set PCRE_UCP if you want Unicode character properties to be used. This can
111
- double the matching time for items such as \d, when matched with
112
- a traditional matching function; the performance loss is less with
113
- a DFA matching function, and in both cases there is not much difference for
114
- \b.
115
- </P>
116
- <P>
117
- When a pattern begins with .* not in parentheses, or in parentheses that are
118
- not the subject of a backreference, and the PCRE_DOTALL option is set, the
119
- pattern is implicitly anchored by PCRE, since it can match only at the start of
120
- a subject string. However, if PCRE_DOTALL is not set, PCRE cannot make this
121
- optimization, because the . metacharacter does not then match a newline, and if
122
- the subject string contains newlines, the pattern may match from the character
123
- immediately following one of them instead of from the very start. For example,
124
- the pattern
125
- <pre>
126
- .*second
127
- </pre>
128
- matches the subject "first\nand second" (where \n stands for a newline
129
- character), with the match starting at the seventh character. In order to do
130
- this, PCRE has to retry the match starting after every newline in the subject.
131
- </P>
132
- <P>
133
- If you are using such a pattern with subject strings that do not contain
134
- newlines, the best performance is obtained by setting PCRE_DOTALL, or starting
135
- the pattern with ^.* or ^.*? to indicate explicit anchoring. That saves PCRE
136
- from having to scan along the subject looking for a newline to restart at.
137
- </P>
138
- <P>
139
- Beware of patterns that contain nested indefinite repeats. These can take a
140
- long time to run when applied to a string that does not match. Consider the
141
- pattern fragment
142
- <pre>
143
- ^(a+)*
144
- </pre>
145
- This can match "aaaa" in 16 different ways, and this number increases very
146
- rapidly as the string gets longer. (The * repeat can match 0, 1, 2, 3, or 4
147
- times, and for each of those cases other than 0 or 4, the + repeats can match
148
- different numbers of times.) When the remainder of the pattern is such that the
149
- entire match is going to fail, PCRE has in principle to try every possible
150
- variation, and this can take an extremely long time, even for relatively short
151
- strings.
152
- </P>
153
- <P>
154
- An optimization catches some of the more simple cases such as
155
- <pre>
156
- (a+)*b
157
- </pre>
158
- where a literal character follows. Before embarking on the standard matching
159
- procedure, PCRE checks that there is a "b" later in the subject string, and if
160
- there is not, it fails the match immediately. However, when there is no
161
- following literal this optimization cannot be used. You can see the difference
162
- by comparing the behaviour of
163
- <pre>
164
- (a+)*\d
165
- </pre>
166
- with the pattern above. The former gives a failure almost instantly when
167
- applied to a whole line of "a" characters, whereas the latter takes an
168
- appreciable time with strings longer than about 20 characters.
169
- </P>
170
- <P>
171
- In many cases, the solution to this kind of performance issue is to use an
172
- atomic group or a possessive quantifier.
173
- </P>
174
- <br><b>
175
- AUTHOR
176
- </b><br>
177
- <P>
178
- Philip Hazel
179
- <br>
180
- University Computing Service
181
- <br>
182
- Cambridge CB2 3QH, England.
183
- <br>
184
- </P>
185
- <br><b>
186
- REVISION
187
- </b><br>
188
- <P>
189
- Last updated: 25 August 2012
190
- <br>
191
- Copyright &copy; 1997-2012 University of Cambridge.
192
- <br>
193
- <p>
194
- Return to the <a href="index.html">PCRE index page</a>.
195
- </p>
@@ -1,292 +0,0 @@
1
- <html>
2
- <head>
3
- <title>pcreposix specification</title>
4
- </head>
5
- <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6
- <h1>pcreposix man page</h1>
7
- <p>
8
- Return to the <a href="index.html">PCRE index page</a>.
9
- </p>
10
- <p>
11
- This page is part of the PCRE HTML documentation. It was generated automatically
12
- from the original man page. If there is any nonsense in it, please consult the
13
- man page, in case the conversion went wrong.
14
- <br>
15
- <ul>
16
- <li><a name="TOC1" href="#SEC1">SYNOPSIS OF POSIX API</a>
17
- <li><a name="TOC2" href="#SEC2">DESCRIPTION</a>
18
- <li><a name="TOC3" href="#SEC3">COMPILING A PATTERN</a>
19
- <li><a name="TOC4" href="#SEC4">MATCHING NEWLINE CHARACTERS</a>
20
- <li><a name="TOC5" href="#SEC5">MATCHING A PATTERN</a>
21
- <li><a name="TOC6" href="#SEC6">ERROR MESSAGES</a>
22
- <li><a name="TOC7" href="#SEC7">MEMORY USAGE</a>
23
- <li><a name="TOC8" href="#SEC8">AUTHOR</a>
24
- <li><a name="TOC9" href="#SEC9">REVISION</a>
25
- </ul>
26
- <br><a name="SEC1" href="#TOC1">SYNOPSIS OF POSIX API</a><br>
27
- <P>
28
- <b>#include &#60;pcreposix.h&#62;</b>
29
- </P>
30
- <P>
31
- <b>int regcomp(regex_t *<i>preg</i>, const char *<i>pattern</i>,</b>
32
- <b>int <i>cflags</i>);</b>
33
- </P>
34
- <P>
35
- <b>int regexec(regex_t *<i>preg</i>, const char *<i>string</i>,</b>
36
- <b>size_t <i>nmatch</i>, regmatch_t <i>pmatch</i>[], int <i>eflags</i>);</b>
37
- </P>
38
- <P>
39
- <b>size_t regerror(int <i>errcode</i>, const regex_t *<i>preg</i>,</b>
40
- <b>char *<i>errbuf</i>, size_t <i>errbuf_size</i>);</b>
41
- </P>
42
- <P>
43
- <b>void regfree(regex_t *<i>preg</i>);</b>
44
- </P>
45
- <br><a name="SEC2" href="#TOC1">DESCRIPTION</a><br>
46
- <P>
47
- This set of functions provides a POSIX-style API for the PCRE regular
48
- expression 8-bit library. See the
49
- <a href="pcreapi.html"><b>pcreapi</b></a>
50
- documentation for a description of PCRE's native API, which contains much
51
- additional functionality. There is no POSIX-style wrapper for PCRE's 16-bit
52
- and 32-bit library.
53
- </P>
54
- <P>
55
- The functions described here are just wrapper functions that ultimately call
56
- the PCRE native API. Their prototypes are defined in the <b>pcreposix.h</b>
57
- header file, and on Unix systems the library itself is called
58
- <b>pcreposix.a</b>, so can be accessed by adding <b>-lpcreposix</b> to the
59
- command for linking an application that uses them. Because the POSIX functions
60
- call the native ones, it is also necessary to add <b>-lpcre</b>.
61
- </P>
62
- <P>
63
- I have implemented only those POSIX option bits that can be reasonably mapped
64
- to PCRE native options. In addition, the option REG_EXTENDED is defined with
65
- the value zero. This has no effect, but since programs that are written to the
66
- POSIX interface often use it, this makes it easier to slot in PCRE as a
67
- replacement library. Other POSIX options are not even defined.
68
- </P>
69
- <P>
70
- There are also some other options that are not defined by POSIX. These have
71
- been added at the request of users who want to make use of certain
72
- PCRE-specific features via the POSIX calling interface.
73
- </P>
74
- <P>
75
- When PCRE is called via these functions, it is only the API that is POSIX-like
76
- in style. The syntax and semantics of the regular expressions themselves are
77
- still those of Perl, subject to the setting of various PCRE options, as
78
- described below. "POSIX-like in style" means that the API approximates to the
79
- POSIX definition; it is not fully POSIX-compatible, and in multi-byte encoding
80
- domains it is probably even less compatible.
81
- </P>
82
- <P>
83
- The header for these functions is supplied as <b>pcreposix.h</b> to avoid any
84
- potential clash with other POSIX libraries. It can, of course, be renamed or
85
- aliased as <b>regex.h</b>, which is the "correct" name. It provides two
86
- structure types, <i>regex_t</i> for compiled internal forms, and
87
- <i>regmatch_t</i> for returning captured substrings. It also defines some
88
- constants whose names start with "REG_"; these are used for setting options and
89
- identifying error codes.
90
- </P>
91
- <br><a name="SEC3" href="#TOC1">COMPILING A PATTERN</a><br>
92
- <P>
93
- The function <b>regcomp()</b> is called to compile a pattern into an
94
- internal form. The pattern is a C string terminated by a binary zero, and
95
- is passed in the argument <i>pattern</i>. The <i>preg</i> argument is a pointer
96
- to a <b>regex_t</b> structure that is used as a base for storing information
97
- about the compiled regular expression.
98
- </P>
99
- <P>
100
- The argument <i>cflags</i> is either zero, or contains one or more of the bits
101
- defined by the following macros:
102
- <pre>
103
- REG_DOTALL
104
- </pre>
105
- The PCRE_DOTALL option is set when the regular expression is passed for
106
- compilation to the native function. Note that REG_DOTALL is not part of the
107
- POSIX standard.
108
- <pre>
109
- REG_ICASE
110
- </pre>
111
- The PCRE_CASELESS option is set when the regular expression is passed for
112
- compilation to the native function.
113
- <pre>
114
- REG_NEWLINE
115
- </pre>
116
- The PCRE_MULTILINE option is set when the regular expression is passed for
117
- compilation to the native function. Note that this does <i>not</i> mimic the
118
- defined POSIX behaviour for REG_NEWLINE (see the following section).
119
- <pre>
120
- REG_NOSUB
121
- </pre>
122
- The PCRE_NO_AUTO_CAPTURE option is set when the regular expression is passed
123
- for compilation to the native function. In addition, when a pattern that is
124
- compiled with this flag is passed to <b>regexec()</b> for matching, the
125
- <i>nmatch</i> and <i>pmatch</i> arguments are ignored, and no captured strings
126
- are returned.
127
- <pre>
128
- REG_UCP
129
- </pre>
130
- The PCRE_UCP option is set when the regular expression is passed for
131
- compilation to the native function. This causes PCRE to use Unicode properties
132
- when matchine \d, \w, etc., instead of just recognizing ASCII values. Note
133
- that REG_UTF8 is not part of the POSIX standard.
134
- <pre>
135
- REG_UNGREEDY
136
- </pre>
137
- The PCRE_UNGREEDY option is set when the regular expression is passed for
138
- compilation to the native function. Note that REG_UNGREEDY is not part of the
139
- POSIX standard.
140
- <pre>
141
- REG_UTF8
142
- </pre>
143
- The PCRE_UTF8 option is set when the regular expression is passed for
144
- compilation to the native function. This causes the pattern itself and all data
145
- strings used for matching it to be treated as UTF-8 strings. Note that REG_UTF8
146
- is not part of the POSIX standard.
147
- </P>
148
- <P>
149
- In the absence of these flags, no options are passed to the native function.
150
- This means the the regex is compiled with PCRE default semantics. In
151
- particular, the way it handles newline characters in the subject string is the
152
- Perl way, not the POSIX way. Note that setting PCRE_MULTILINE has only
153
- <i>some</i> of the effects specified for REG_NEWLINE. It does not affect the way
154
- newlines are matched by . (they are not) or by a negative class such as [^a]
155
- (they are).
156
- </P>
157
- <P>
158
- The yield of <b>regcomp()</b> is zero on success, and non-zero otherwise. The
159
- <i>preg</i> structure is filled in on success, and one member of the structure
160
- is public: <i>re_nsub</i> contains the number of capturing subpatterns in
161
- the regular expression. Various error codes are defined in the header file.
162
- </P>
163
- <P>
164
- NOTE: If the yield of <b>regcomp()</b> is non-zero, you must not attempt to
165
- use the contents of the <i>preg</i> structure. If, for example, you pass it to
166
- <b>regexec()</b>, the result is undefined and your program is likely to crash.
167
- </P>
168
- <br><a name="SEC4" href="#TOC1">MATCHING NEWLINE CHARACTERS</a><br>
169
- <P>
170
- This area is not simple, because POSIX and Perl take different views of things.
171
- It is not possible to get PCRE to obey POSIX semantics, but then PCRE was never
172
- intended to be a POSIX engine. The following table lists the different
173
- possibilities for matching newline characters in PCRE:
174
- <pre>
175
- Default Change with
176
-
177
- . matches newline no PCRE_DOTALL
178
- newline matches [^a] yes not changeable
179
- $ matches \n at end yes PCRE_DOLLARENDONLY
180
- $ matches \n in middle no PCRE_MULTILINE
181
- ^ matches \n in middle no PCRE_MULTILINE
182
- </pre>
183
- This is the equivalent table for POSIX:
184
- <pre>
185
- Default Change with
186
-
187
- . matches newline yes REG_NEWLINE
188
- newline matches [^a] yes REG_NEWLINE
189
- $ matches \n at end no REG_NEWLINE
190
- $ matches \n in middle no REG_NEWLINE
191
- ^ matches \n in middle no REG_NEWLINE
192
- </pre>
193
- PCRE's behaviour is the same as Perl's, except that there is no equivalent for
194
- PCRE_DOLLAR_ENDONLY in Perl. In both PCRE and Perl, there is no way to stop
195
- newline from matching [^a].
196
- </P>
197
- <P>
198
- The default POSIX newline handling can be obtained by setting PCRE_DOTALL and
199
- PCRE_DOLLAR_ENDONLY, but there is no way to make PCRE behave exactly as for the
200
- REG_NEWLINE action.
201
- </P>
202
- <br><a name="SEC5" href="#TOC1">MATCHING A PATTERN</a><br>
203
- <P>
204
- The function <b>regexec()</b> is called to match a compiled pattern <i>preg</i>
205
- against a given <i>string</i>, which is by default terminated by a zero byte
206
- (but see REG_STARTEND below), subject to the options in <i>eflags</i>. These can
207
- be:
208
- <pre>
209
- REG_NOTBOL
210
- </pre>
211
- The PCRE_NOTBOL option is set when calling the underlying PCRE matching
212
- function.
213
- <pre>
214
- REG_NOTEMPTY
215
- </pre>
216
- The PCRE_NOTEMPTY option is set when calling the underlying PCRE matching
217
- function. Note that REG_NOTEMPTY is not part of the POSIX standard. However,
218
- setting this option can give more POSIX-like behaviour in some situations.
219
- <pre>
220
- REG_NOTEOL
221
- </pre>
222
- The PCRE_NOTEOL option is set when calling the underlying PCRE matching
223
- function.
224
- <pre>
225
- REG_STARTEND
226
- </pre>
227
- The string is considered to start at <i>string</i> + <i>pmatch[0].rm_so</i> and
228
- to have a terminating NUL located at <i>string</i> + <i>pmatch[0].rm_eo</i>
229
- (there need not actually be a NUL at that location), regardless of the value of
230
- <i>nmatch</i>. This is a BSD extension, compatible with but not specified by
231
- IEEE Standard 1003.2 (POSIX.2), and should be used with caution in software
232
- intended to be portable to other systems. Note that a non-zero <i>rm_so</i> does
233
- not imply REG_NOTBOL; REG_STARTEND affects only the location of the string, not
234
- how it is matched.
235
- </P>
236
- <P>
237
- If the pattern was compiled with the REG_NOSUB flag, no data about any matched
238
- strings is returned. The <i>nmatch</i> and <i>pmatch</i> arguments of
239
- <b>regexec()</b> are ignored.
240
- </P>
241
- <P>
242
- If the value of <i>nmatch</i> is zero, or if the value <i>pmatch</i> is NULL,
243
- no data about any matched strings is returned.
244
- </P>
245
- <P>
246
- Otherwise,the portion of the string that was matched, and also any captured
247
- substrings, are returned via the <i>pmatch</i> argument, which points to an
248
- array of <i>nmatch</i> structures of type <i>regmatch_t</i>, containing the
249
- members <i>rm_so</i> and <i>rm_eo</i>. These contain the offset to the first
250
- character of each substring and the offset to the first character after the end
251
- of each substring, respectively. The 0th element of the vector relates to the
252
- entire portion of <i>string</i> that was matched; subsequent elements relate to
253
- the capturing subpatterns of the regular expression. Unused entries in the
254
- array have both structure members set to -1.
255
- </P>
256
- <P>
257
- A successful match yields a zero return; various error codes are defined in the
258
- header file, of which REG_NOMATCH is the "expected" failure code.
259
- </P>
260
- <br><a name="SEC6" href="#TOC1">ERROR MESSAGES</a><br>
261
- <P>
262
- The <b>regerror()</b> function maps a non-zero errorcode from either
263
- <b>regcomp()</b> or <b>regexec()</b> to a printable message. If <i>preg</i> is not
264
- NULL, the error should have arisen from the use of that structure. A message
265
- terminated by a binary zero is placed in <i>errbuf</i>. The length of the
266
- message, including the zero, is limited to <i>errbuf_size</i>. The yield of the
267
- function is the size of buffer needed to hold the whole message.
268
- </P>
269
- <br><a name="SEC7" href="#TOC1">MEMORY USAGE</a><br>
270
- <P>
271
- Compiling a regular expression causes memory to be allocated and associated
272
- with the <i>preg</i> structure. The function <b>regfree()</b> frees all such
273
- memory, after which <i>preg</i> may no longer be used as a compiled expression.
274
- </P>
275
- <br><a name="SEC8" href="#TOC1">AUTHOR</a><br>
276
- <P>
277
- Philip Hazel
278
- <br>
279
- University Computing Service
280
- <br>
281
- Cambridge CB2 3QH, England.
282
- <br>
283
- </P>
284
- <br><a name="SEC9" href="#TOC1">REVISION</a><br>
285
- <P>
286
- Last updated: 09 January 2012
287
- <br>
288
- Copyright &copy; 1997-2012 University of Cambridge.
289
- <br>
290
- <p>
291
- Return to the <a href="index.html">PCRE index page</a>.
292
- </p>