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,437 +0,0 @@
1
- .TH PCREJIT 3 "31 October 2012" "PCRE 8.32"
2
- .SH NAME
3
- PCRE - Perl-compatible regular expressions
4
- .SH "PCRE JUST-IN-TIME COMPILER SUPPORT"
5
- .rs
6
- .sp
7
- Just-in-time compiling is a heavyweight optimization that can greatly speed up
8
- pattern matching. However, it comes at the cost of extra processing before the
9
- match is performed. Therefore, it is of most benefit when the same pattern is
10
- going to be matched many times. This does not necessarily mean many calls of a
11
- matching function; if the pattern is not anchored, matching attempts may take
12
- place many times at various positions in the subject, even for a single call.
13
- Therefore, if the subject string is very long, it may still pay to use JIT for
14
- one-off matches.
15
- .P
16
- JIT support applies only to the traditional Perl-compatible matching function.
17
- It does not apply when the DFA matching function is being used. The code for
18
- this support was written by Zoltan Herczeg.
19
- .
20
- .
21
- .SH "8-BIT, 16-BIT AND 32-BIT SUPPORT"
22
- .rs
23
- .sp
24
- JIT support is available for all of the 8-bit, 16-bit and 32-bit PCRE
25
- libraries. To keep this documentation simple, only the 8-bit interface is
26
- described in what follows. If you are using the 16-bit library, substitute the
27
- 16-bit functions and 16-bit structures (for example, \fIpcre16_jit_stack\fP
28
- instead of \fIpcre_jit_stack\fP). If you are using the 32-bit library,
29
- substitute the 32-bit functions and 32-bit structures (for example,
30
- \fIpcre32_jit_stack\fP instead of \fIpcre_jit_stack\fP).
31
- .
32
- .
33
- .SH "AVAILABILITY OF JIT SUPPORT"
34
- .rs
35
- .sp
36
- JIT support is an optional feature of PCRE. The "configure" option --enable-jit
37
- (or equivalent CMake option) must be set when PCRE is built if you want to use
38
- JIT. The support is limited to the following hardware platforms:
39
- .sp
40
- ARM v5, v7, and Thumb2
41
- Intel x86 32-bit and 64-bit
42
- MIPS 32-bit
43
- Power PC 32-bit and 64-bit
44
- SPARC 32-bit (experimental)
45
- .sp
46
- If --enable-jit is set on an unsupported platform, compilation fails.
47
- .P
48
- A program that is linked with PCRE 8.20 or later can tell if JIT support is
49
- available by calling \fBpcre_config()\fP with the PCRE_CONFIG_JIT option. The
50
- result is 1 when JIT is available, and 0 otherwise. However, a simple program
51
- does not need to check this in order to use JIT. The normal API is implemented
52
- in a way that falls back to the interpretive code if JIT is not available. For
53
- programs that need the best possible performance, there is also a "fast path"
54
- API that is JIT-specific.
55
- .P
56
- If your program may sometimes be linked with versions of PCRE that are older
57
- than 8.20, but you want to use JIT when it is available, you can test
58
- the values of PCRE_MAJOR and PCRE_MINOR, or the existence of a JIT macro such
59
- as PCRE_CONFIG_JIT, for compile-time control of your code.
60
- .
61
- .
62
- .SH "SIMPLE USE OF JIT"
63
- .rs
64
- .sp
65
- You have to do two things to make use of the JIT support in the simplest way:
66
- .sp
67
- (1) Call \fBpcre_study()\fP with the PCRE_STUDY_JIT_COMPILE option for
68
- each compiled pattern, and pass the resulting \fBpcre_extra\fP block to
69
- \fBpcre_exec()\fP.
70
- .sp
71
- (2) Use \fBpcre_free_study()\fP to free the \fBpcre_extra\fP block when it is
72
- no longer needed, instead of just freeing it yourself. This ensures that
73
- any JIT data is also freed.
74
- .sp
75
- For a program that may be linked with pre-8.20 versions of PCRE, you can insert
76
- .sp
77
- #ifndef PCRE_STUDY_JIT_COMPILE
78
- #define PCRE_STUDY_JIT_COMPILE 0
79
- #endif
80
- .sp
81
- so that no option is passed to \fBpcre_study()\fP, and then use something like
82
- this to free the study data:
83
- .sp
84
- #ifdef PCRE_CONFIG_JIT
85
- pcre_free_study(study_ptr);
86
- #else
87
- pcre_free(study_ptr);
88
- #endif
89
- .sp
90
- PCRE_STUDY_JIT_COMPILE requests the JIT compiler to generate code for complete
91
- matches. If you want to run partial matches using the PCRE_PARTIAL_HARD or
92
- PCRE_PARTIAL_SOFT options of \fBpcre_exec()\fP, you should set one or both of
93
- the following options in addition to, or instead of, PCRE_STUDY_JIT_COMPILE
94
- when you call \fBpcre_study()\fP:
95
- .sp
96
- PCRE_STUDY_JIT_PARTIAL_HARD_COMPILE
97
- PCRE_STUDY_JIT_PARTIAL_SOFT_COMPILE
98
- .sp
99
- The JIT compiler generates different optimized code for each of the three
100
- modes (normal, soft partial, hard partial). When \fBpcre_exec()\fP is called,
101
- the appropriate code is run if it is available. Otherwise, the pattern is
102
- matched using interpretive code.
103
- .P
104
- In some circumstances you may need to call additional functions. These are
105
- described in the section entitled
106
- .\" HTML <a href="#stackcontrol">
107
- .\" </a>
108
- "Controlling the JIT stack"
109
- .\"
110
- below.
111
- .P
112
- If JIT support is not available, PCRE_STUDY_JIT_COMPILE etc. are ignored, and
113
- no JIT data is created. Otherwise, the compiled pattern is passed to the JIT
114
- compiler, which turns it into machine code that executes much faster than the
115
- normal interpretive code. When \fBpcre_exec()\fP is passed a \fBpcre_extra\fP
116
- block containing a pointer to JIT code of the appropriate mode (normal or
117
- hard/soft partial), it obeys that code instead of running the interpreter. The
118
- result is identical, but the compiled JIT code runs much faster.
119
- .P
120
- There are some \fBpcre_exec()\fP options that are not supported for JIT
121
- execution. There are also some pattern items that JIT cannot handle. Details
122
- are given below. In both cases, execution automatically falls back to the
123
- interpretive code. If you want to know whether JIT was actually used for a
124
- particular match, you should arrange for a JIT callback function to be set up
125
- as described in the section entitled
126
- .\" HTML <a href="#stackcontrol">
127
- .\" </a>
128
- "Controlling the JIT stack"
129
- .\"
130
- below, even if you do not need to supply a non-default JIT stack. Such a
131
- callback function is called whenever JIT code is about to be obeyed. If the
132
- execution options are not right for JIT execution, the callback function is not
133
- obeyed.
134
- .P
135
- If the JIT compiler finds an unsupported item, no JIT data is generated. You
136
- can find out if JIT execution is available after studying a pattern by calling
137
- \fBpcre_fullinfo()\fP with the PCRE_INFO_JIT option. A result of 1 means that
138
- JIT compilation was successful. A result of 0 means that JIT support is not
139
- available, or the pattern was not studied with PCRE_STUDY_JIT_COMPILE etc., or
140
- the JIT compiler was not able to handle the pattern.
141
- .P
142
- Once a pattern has been studied, with or without JIT, it can be used as many
143
- times as you like for matching different subject strings.
144
- .
145
- .
146
- .SH "UNSUPPORTED OPTIONS AND PATTERN ITEMS"
147
- .rs
148
- .sp
149
- The only \fBpcre_exec()\fP options that are supported for JIT execution are
150
- PCRE_NO_UTF8_CHECK, PCRE_NO_UTF16_CHECK, PCRE_NO_UTF32_CHECK, PCRE_NOTBOL,
151
- PCRE_NOTEOL, PCRE_NOTEMPTY, PCRE_NOTEMPTY_ATSTART, PCRE_PARTIAL_HARD, and
152
- PCRE_PARTIAL_SOFT.
153
- .P
154
- The unsupported pattern items are:
155
- .sp
156
- \eC match a single byte; not supported in UTF-8 mode
157
- (?Cn) callouts
158
- (*PRUNE) )
159
- (*SKIP) ) backtracking control verbs
160
- (*THEN) )
161
- .sp
162
- Support for some of these may be added in future.
163
- .
164
- .
165
- .SH "RETURN VALUES FROM JIT EXECUTION"
166
- .rs
167
- .sp
168
- When a pattern is matched using JIT execution, the return values are the same
169
- as those given by the interpretive \fBpcre_exec()\fP code, with the addition of
170
- one new error code: PCRE_ERROR_JIT_STACKLIMIT. This means that the memory used
171
- for the JIT stack was insufficient. See
172
- .\" HTML <a href="#stackcontrol">
173
- .\" </a>
174
- "Controlling the JIT stack"
175
- .\"
176
- below for a discussion of JIT stack usage. For compatibility with the
177
- interpretive \fBpcre_exec()\fP code, no more than two-thirds of the
178
- \fIovector\fP argument is used for passing back captured substrings.
179
- .P
180
- The error code PCRE_ERROR_MATCHLIMIT is returned by the JIT code if searching a
181
- very large pattern tree goes on for too long, as it is in the same circumstance
182
- when JIT is not used, but the details of exactly what is counted are not the
183
- same. The PCRE_ERROR_RECURSIONLIMIT error code is never returned by JIT
184
- execution.
185
- .
186
- .
187
- .SH "SAVING AND RESTORING COMPILED PATTERNS"
188
- .rs
189
- .sp
190
- The code that is generated by the JIT compiler is architecture-specific, and is
191
- also position dependent. For those reasons it cannot be saved (in a file or
192
- database) and restored later like the bytecode and other data of a compiled
193
- pattern. Saving and restoring compiled patterns is not something many people
194
- do. More detail about this facility is given in the
195
- .\" HREF
196
- \fBpcreprecompile\fP
197
- .\"
198
- documentation. It should be possible to run \fBpcre_study()\fP on a saved and
199
- restored pattern, and thereby recreate the JIT data, but because JIT
200
- compilation uses significant resources, it is probably not worth doing this;
201
- you might as well recompile the original pattern.
202
- .
203
- .
204
- .\" HTML <a name="stackcontrol"></a>
205
- .SH "CONTROLLING THE JIT STACK"
206
- .rs
207
- .sp
208
- When the compiled JIT code runs, it needs a block of memory to use as a stack.
209
- By default, it uses 32K on the machine stack. However, some large or
210
- complicated patterns need more than this. The error PCRE_ERROR_JIT_STACKLIMIT
211
- is given when there is not enough stack. Three functions are provided for
212
- managing blocks of memory for use as JIT stacks. There is further discussion
213
- about the use of JIT stacks in the section entitled
214
- .\" HTML <a href="#stackcontrol">
215
- .\" </a>
216
- "JIT stack FAQ"
217
- .\"
218
- below.
219
- .P
220
- The \fBpcre_jit_stack_alloc()\fP function creates a JIT stack. Its arguments
221
- are a starting size and a maximum size, and it returns a pointer to an opaque
222
- structure of type \fBpcre_jit_stack\fP, or NULL if there is an error. The
223
- \fBpcre_jit_stack_free()\fP function can be used to free a stack that is no
224
- longer needed. (For the technically minded: the address space is allocated by
225
- mmap or VirtualAlloc.)
226
- .P
227
- JIT uses far less memory for recursion than the interpretive code,
228
- and a maximum stack size of 512K to 1M should be more than enough for any
229
- pattern.
230
- .P
231
- The \fBpcre_assign_jit_stack()\fP function specifies which stack JIT code
232
- should use. Its arguments are as follows:
233
- .sp
234
- pcre_extra *extra
235
- pcre_jit_callback callback
236
- void *data
237
- .sp
238
- The \fIextra\fP argument must be the result of studying a pattern with
239
- PCRE_STUDY_JIT_COMPILE etc. There are three cases for the values of the other
240
- two options:
241
- .sp
242
- (1) If \fIcallback\fP is NULL and \fIdata\fP is NULL, an internal 32K block
243
- on the machine stack is used.
244
- .sp
245
- (2) If \fIcallback\fP is NULL and \fIdata\fP is not NULL, \fIdata\fP must be
246
- a valid JIT stack, the result of calling \fBpcre_jit_stack_alloc()\fP.
247
- .sp
248
- (3) If \fIcallback\fP is not NULL, it must point to a function that is
249
- called with \fIdata\fP as an argument at the start of matching, in
250
- order to set up a JIT stack. If the return from the callback
251
- function is NULL, the internal 32K stack is used; otherwise the
252
- return value must be a valid JIT stack, the result of calling
253
- \fBpcre_jit_stack_alloc()\fP.
254
- .sp
255
- A callback function is obeyed whenever JIT code is about to be run; it is not
256
- obeyed when \fBpcre_exec()\fP is called with options that are incompatible for
257
- JIT execution. A callback function can therefore be used to determine whether a
258
- match operation was executed by JIT or by the interpreter.
259
- .P
260
- You may safely use the same JIT stack for more than one pattern (either by
261
- assigning directly or by callback), as long as the patterns are all matched
262
- sequentially in the same thread. In a multithread application, if you do not
263
- specify a JIT stack, or if you assign or pass back NULL from a callback, that
264
- is thread-safe, because each thread has its own machine stack. However, if you
265
- assign or pass back a non-NULL JIT stack, this must be a different stack for
266
- each thread so that the application is thread-safe.
267
- .P
268
- Strictly speaking, even more is allowed. You can assign the same non-NULL stack
269
- to any number of patterns as long as they are not used for matching by multiple
270
- threads at the same time. For example, you can assign the same stack to all
271
- compiled patterns, and use a global mutex in the callback to wait until the
272
- stack is available for use. However, this is an inefficient solution, and not
273
- recommended.
274
- .P
275
- This is a suggestion for how a multithreaded program that needs to set up
276
- non-default JIT stacks might operate:
277
- .sp
278
- During thread initalization
279
- thread_local_var = pcre_jit_stack_alloc(...)
280
- .sp
281
- During thread exit
282
- pcre_jit_stack_free(thread_local_var)
283
- .sp
284
- Use a one-line callback function
285
- return thread_local_var
286
- .sp
287
- All the functions described in this section do nothing if JIT is not available,
288
- and \fBpcre_assign_jit_stack()\fP does nothing unless the \fBextra\fP argument
289
- is non-NULL and points to a \fBpcre_extra\fP block that is the result of a
290
- successful study with PCRE_STUDY_JIT_COMPILE etc.
291
- .
292
- .
293
- .\" HTML <a name="stackfaq"></a>
294
- .SH "JIT STACK FAQ"
295
- .rs
296
- .sp
297
- (1) Why do we need JIT stacks?
298
- .sp
299
- PCRE (and JIT) is a recursive, depth-first engine, so it needs a stack where
300
- the local data of the current node is pushed before checking its child nodes.
301
- Allocating real machine stack on some platforms is difficult. For example, the
302
- stack chain needs to be updated every time if we extend the stack on PowerPC.
303
- Although it is possible, its updating time overhead decreases performance. So
304
- we do the recursion in memory.
305
- .P
306
- (2) Why don't we simply allocate blocks of memory with \fBmalloc()\fP?
307
- .sp
308
- Modern operating systems have a nice feature: they can reserve an address space
309
- instead of allocating memory. We can safely allocate memory pages inside this
310
- address space, so the stack could grow without moving memory data (this is
311
- important because of pointers). Thus we can allocate 1M address space, and use
312
- only a single memory page (usually 4K) if that is enough. However, we can still
313
- grow up to 1M anytime if needed.
314
- .P
315
- (3) Who "owns" a JIT stack?
316
- .sp
317
- The owner of the stack is the user program, not the JIT studied pattern or
318
- anything else. The user program must ensure that if a stack is used by
319
- \fBpcre_exec()\fP, (that is, it is assigned to the pattern currently running),
320
- that stack must not be used by any other threads (to avoid overwriting the same
321
- memory area). The best practice for multithreaded programs is to allocate a
322
- stack for each thread, and return this stack through the JIT callback function.
323
- .P
324
- (4) When should a JIT stack be freed?
325
- .sp
326
- You can free a JIT stack at any time, as long as it will not be used by
327
- \fBpcre_exec()\fP again. When you assign the stack to a pattern, only a pointer
328
- is set. There is no reference counting or any other magic. You can free the
329
- patterns and stacks in any order, anytime. Just \fIdo not\fP call
330
- \fBpcre_exec()\fP with a pattern pointing to an already freed stack, as that
331
- will cause SEGFAULT. (Also, do not free a stack currently used by
332
- \fBpcre_exec()\fP in another thread). You can also replace the stack for a
333
- pattern at any time. You can even free the previous stack before assigning a
334
- replacement.
335
- .P
336
- (5) Should I allocate/free a stack every time before/after calling
337
- \fBpcre_exec()\fP?
338
- .sp
339
- No, because this is too costly in terms of resources. However, you could
340
- implement some clever idea which release the stack if it is not used in let's
341
- say two minutes. The JIT callback can help to achieve this without keeping a
342
- list of the currently JIT studied patterns.
343
- .P
344
- (6) OK, the stack is for long term memory allocation. But what happens if a
345
- pattern causes stack overflow with a stack of 1M? Is that 1M kept until the
346
- stack is freed?
347
- .sp
348
- Especially on embedded sytems, it might be a good idea to release memory
349
- sometimes without freeing the stack. There is no API for this at the moment.
350
- Probably a function call which returns with the currently allocated memory for
351
- any stack and another which allows releasing memory (shrinking the stack) would
352
- be a good idea if someone needs this.
353
- .P
354
- (7) This is too much of a headache. Isn't there any better solution for JIT
355
- stack handling?
356
- .sp
357
- No, thanks to Windows. If POSIX threads were used everywhere, we could throw
358
- out this complicated API.
359
- .
360
- .
361
- .SH "EXAMPLE CODE"
362
- .rs
363
- .sp
364
- This is a single-threaded example that specifies a JIT stack without using a
365
- callback.
366
- .sp
367
- int rc;
368
- int ovector[30];
369
- pcre *re;
370
- pcre_extra *extra;
371
- pcre_jit_stack *jit_stack;
372
- .sp
373
- re = pcre_compile(pattern, 0, &error, &erroffset, NULL);
374
- /* Check for errors */
375
- extra = pcre_study(re, PCRE_STUDY_JIT_COMPILE, &error);
376
- jit_stack = pcre_jit_stack_alloc(32*1024, 512*1024);
377
- /* Check for error (NULL) */
378
- pcre_assign_jit_stack(extra, NULL, jit_stack);
379
- rc = pcre_exec(re, extra, subject, length, 0, 0, ovector, 30);
380
- /* Check results */
381
- pcre_free(re);
382
- pcre_free_study(extra);
383
- pcre_jit_stack_free(jit_stack);
384
- .sp
385
- .
386
- .
387
- .SH "JIT FAST PATH API"
388
- .rs
389
- .sp
390
- Because the API described above falls back to interpreted execution when JIT is
391
- not available, it is convenient for programs that are written for general use
392
- in many environments. However, calling JIT via \fBpcre_exec()\fP does have a
393
- performance impact. Programs that are written for use where JIT is known to be
394
- available, and which need the best possible performance, can instead use a
395
- "fast path" API to call JIT execution directly instead of calling
396
- \fBpcre_exec()\fP (obviously only for patterns that have been successfully
397
- studied by JIT).
398
- .P
399
- The fast path function is called \fBpcre_jit_exec()\fP, and it takes exactly
400
- the same arguments as \fBpcre_exec()\fP, plus one additional argument that
401
- must point to a JIT stack. The JIT stack arrangements described above do not
402
- apply. The return values are the same as for \fBpcre_exec()\fP.
403
- .P
404
- When you call \fBpcre_exec()\fP, as well as testing for invalid options, a
405
- number of other sanity checks are performed on the arguments. For example, if
406
- the subject pointer is NULL, or its length is negative, an immediate error is
407
- given. Also, unless PCRE_NO_UTF[8|16|32] is set, a UTF subject string is tested
408
- for validity. In the interests of speed, these checks do not happen on the JIT
409
- fast path, and if invalid data is passed, the result is undefined.
410
- .P
411
- Bypassing the sanity checks and the \fBpcre_exec()\fP wrapping can give
412
- speedups of more than 10%.
413
- .
414
- .
415
- .SH "SEE ALSO"
416
- .rs
417
- .sp
418
- \fBpcreapi\fP(3)
419
- .
420
- .
421
- .SH AUTHOR
422
- .rs
423
- .sp
424
- .nf
425
- Philip Hazel (FAQ by Zoltan Herczeg)
426
- University Computing Service
427
- Cambridge CB2 3QH, England.
428
- .fi
429
- .
430
- .
431
- .SH REVISION
432
- .rs
433
- .sp
434
- .nf
435
- Last updated: 31 October 2012
436
- Copyright (c) 1997-2012 University of Cambridge.
437
- .fi
@@ -1,67 +0,0 @@
1
- .TH PCRELIMITS 3 "24 June 2012" "PCRE 8.30"
2
- .SH NAME
3
- PCRE - Perl-compatible regular expressions
4
- .SH "SIZE AND OTHER LIMITATIONS"
5
- .rs
6
- .sp
7
- There are some size limitations in PCRE but it is hoped that they will never in
8
- practice be relevant.
9
- .P
10
- The maximum length of a compiled pattern is approximately 64K data units (bytes
11
- for the 8-bit library, 32-bit units for the 32-bit library, and 32-bit units for
12
- the 32-bit library) if PCRE is compiled with the default internal linkage size
13
- of 2 bytes. If you want to process regular expressions that are truly enormous,
14
- you can compile PCRE with an internal linkage size of 3 or 4 (when building the
15
- 16-bit or 32-bit library, 3 is rounded up to 4). See the \fBREADME\fP file in
16
- the source distribution and the
17
- .\" HREF
18
- \fBpcrebuild\fP
19
- .\"
20
- documentation for details. In these cases the limit is substantially larger.
21
- However, the speed of execution is slower.
22
- .P
23
- All values in repeating quantifiers must be less than 65536.
24
- .P
25
- There is no limit to the number of parenthesized subpatterns, but there can be
26
- no more than 65535 capturing subpatterns.
27
- .P
28
- There is a limit to the number of forward references to subsequent subpatterns
29
- of around 200,000. Repeated forward references with fixed upper limits, for
30
- example, (?2){0,100} when subpattern number 2 is to the right, are included in
31
- the count. There is no limit to the number of backward references.
32
- .P
33
- The maximum length of name for a named subpattern is 32 characters, and the
34
- maximum number of named subpatterns is 10000.
35
- .P
36
- The maximum length of a name in a (*MARK), (*PRUNE), (*SKIP), or (*THEN) verb
37
- is 255 for the 8-bit library and 65535 for the 16-bit and 32-bit library.
38
- .P
39
- The maximum length of a subject string is the largest positive number that an
40
- integer variable can hold. However, when using the traditional matching
41
- function, PCRE uses recursion to handle subpatterns and indefinite repetition.
42
- This means that the available stack space may limit the size of a subject
43
- string that can be processed by certain patterns. For a discussion of stack
44
- issues, see the
45
- .\" HREF
46
- \fBpcrestack\fP
47
- .\"
48
- documentation.
49
- .
50
- .
51
- .SH AUTHOR
52
- .rs
53
- .sp
54
- .nf
55
- Philip Hazel
56
- University Computing Service
57
- Cambridge CB2 3QH, England.
58
- .fi
59
- .
60
- .
61
- .SH REVISION
62
- .rs
63
- .sp
64
- .nf
65
- Last updated: 04 May 2012
66
- Copyright (c) 1997-2012 University of Cambridge.
67
- .fi