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,204 +0,0 @@
1
- <html>
2
- <head>
3
- <title>pcre specification</title>
4
- </head>
5
- <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6
- <h1>pcre 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">INTRODUCTION</a>
17
- <li><a name="TOC2" href="#SEC2">SECURITY CONSIDERATIONS</a>
18
- <li><a name="TOC3" href="#SEC3">USER DOCUMENTATION</a>
19
- <li><a name="TOC4" href="#SEC4">AUTHOR</a>
20
- <li><a name="TOC5" href="#SEC5">REVISION</a>
21
- </ul>
22
- <br><a name="SEC1" href="#TOC1">INTRODUCTION</a><br>
23
- <P>
24
- The PCRE library is a set of functions that implement regular expression
25
- pattern matching using the same syntax and semantics as Perl, with just a few
26
- differences. Some features that appeared in Python and PCRE before they
27
- appeared in Perl are also available using the Python syntax, there is some
28
- support for one or two .NET and Oniguruma syntax items, and there is an option
29
- for requesting some minor changes that give better JavaScript compatibility.
30
- </P>
31
- <P>
32
- Starting with release 8.30, it is possible to compile two separate PCRE
33
- libraries: the original, which supports 8-bit character strings (including
34
- UTF-8 strings), and a second library that supports 16-bit character strings
35
- (including UTF-16 strings). The build process allows either one or both to be
36
- built. The majority of the work to make this possible was done by Zoltan
37
- Herczeg.
38
- </P>
39
- <P>
40
- Starting with release 8.32 it is possible to compile a third separate PCRE
41
- library, which supports 32-bit character strings (including
42
- UTF-32 strings). The build process allows any set of the 8-, 16- and 32-bit
43
- libraries. The work to make this possible was done by Christian Persch.
44
- </P>
45
- <P>
46
- The three libraries contain identical sets of functions, except that the names
47
- in the 16-bit library start with <b>pcre16_</b> instead of <b>pcre_</b>, and the
48
- names in the 32-bit library start with <b>pcre32_</b> instead of <b>pcre_</b>. To
49
- avoid over-complication and reduce the documentation maintenance load, most of
50
- the documentation describes the 8-bit library, with the differences for the
51
- 16-bit and 32-bit libraries described separately in the
52
- <a href="pcre16.html"><b>pcre16</b></a>
53
- and
54
- <a href="pcre32.html"><b>pcre32</b></a>
55
- pages. References to functions or structures of the form <i>pcre[16|32]_xxx</i>
56
- should be read as meaning "<i>pcre_xxx</i> when using the 8-bit library,
57
- <i>pcre16_xxx</i> when using the 16-bit library, or <i>pcre32_xxx</i> when using
58
- the 32-bit library".
59
- </P>
60
- <P>
61
- The current implementation of PCRE corresponds approximately with Perl 5.12,
62
- including support for UTF-8/16/32 encoded strings and Unicode general category
63
- properties. However, UTF-8/16/32 and Unicode support has to be explicitly
64
- enabled; it is not the default. The Unicode tables correspond to Unicode
65
- release 6.2.0.
66
- </P>
67
- <P>
68
- In addition to the Perl-compatible matching function, PCRE contains an
69
- alternative function that matches the same compiled patterns in a different
70
- way. In certain circumstances, the alternative function has some advantages.
71
- For a discussion of the two matching algorithms, see the
72
- <a href="pcrematching.html"><b>pcrematching</b></a>
73
- page.
74
- </P>
75
- <P>
76
- PCRE is written in C and released as a C library. A number of people have
77
- written wrappers and interfaces of various kinds. In particular, Google Inc.
78
- have provided a comprehensive C++ wrapper for the 8-bit library. This is now
79
- included as part of the PCRE distribution. The
80
- <a href="pcrecpp.html"><b>pcrecpp</b></a>
81
- page has details of this interface. Other people's contributions can be found
82
- in the <i>Contrib</i> directory at the primary FTP site, which is:
83
- <a href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre">ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre</a>
84
- </P>
85
- <P>
86
- Details of exactly which Perl regular expression features are and are not
87
- supported by PCRE are given in separate documents. See the
88
- <a href="pcrepattern.html"><b>pcrepattern</b></a>
89
- and
90
- <a href="pcrecompat.html"><b>pcrecompat</b></a>
91
- pages. There is a syntax summary in the
92
- <a href="pcresyntax.html"><b>pcresyntax</b></a>
93
- page.
94
- </P>
95
- <P>
96
- Some features of PCRE can be included, excluded, or changed when the library is
97
- built. The
98
- <a href="pcre_config.html"><b>pcre_config()</b></a>
99
- function makes it possible for a client to discover which features are
100
- available. The features themselves are described in the
101
- <a href="pcrebuild.html"><b>pcrebuild</b></a>
102
- page. Documentation about building PCRE for various operating systems can be
103
- found in the <b>README</b> and <b>NON-AUTOTOOLS_BUILD</b> files in the source
104
- distribution.
105
- </P>
106
- <P>
107
- The libraries contains a number of undocumented internal functions and data
108
- tables that are used by more than one of the exported external functions, but
109
- which are not intended for use by external callers. Their names all begin with
110
- "_pcre_" or "_pcre16_" or "_pcre32_", which hopefully will not provoke any name
111
- clashes. In some environments, it is possible to control which external symbols
112
- are exported when a shared library is built, and in these cases the
113
- undocumented symbols are not exported.
114
- </P>
115
- <br><a name="SEC2" href="#TOC1">SECURITY CONSIDERATIONS</a><br>
116
- <P>
117
- If you are using PCRE in a non-UTF application that permits users to supply
118
- arbitrary patterns for compilation, you should be aware of a feature that
119
- allows users to turn on UTF support from within a pattern, provided that PCRE
120
- was built with UTF support. For example, an 8-bit pattern that begins with
121
- "(*UTF8)" or "(*UTF)" turns on UTF-8 mode, which interprets patterns and
122
- subjects as strings of UTF-8 characters instead of individual 8-bit characters.
123
- This causes both the pattern and any data against which it is matched to be
124
- checked for UTF-8 validity. If the data string is very long, such a check might
125
- use sufficiently many resources as to cause your application to lose
126
- performance.
127
- </P>
128
- <P>
129
- The best way of guarding against this possibility is to use the
130
- <b>pcre_fullinfo()</b> function to check the compiled pattern's options for UTF.
131
- </P>
132
- <P>
133
- If your application is one that supports UTF, be aware that validity checking
134
- can take time. If the same data string is to be matched many times, you can use
135
- the PCRE_NO_UTF[8|16|32]_CHECK option for the second and subsequent matches to
136
- save redundant checks.
137
- </P>
138
- <P>
139
- Another way that performance can be hit is by running a pattern that has a very
140
- large search tree against a string that will never match. Nested unlimited
141
- repeats in a pattern are a common example. PCRE provides some protection
142
- against this: see the PCRE_EXTRA_MATCH_LIMIT feature in the
143
- <a href="pcreapi.html"><b>pcreapi</b></a>
144
- page.
145
- </P>
146
- <br><a name="SEC3" href="#TOC1">USER DOCUMENTATION</a><br>
147
- <P>
148
- The user documentation for PCRE comprises a number of different sections. In
149
- the "man" format, each of these is a separate "man page". In the HTML format,
150
- each is a separate page, linked from the index page. In the plain text format,
151
- all the sections, except the <b>pcredemo</b> section, are concatenated, for ease
152
- of searching. The sections are as follows:
153
- <pre>
154
- pcre this document
155
- pcre16 details of the 16-bit library
156
- pcre32 details of the 32-bit library
157
- pcre-config show PCRE installation configuration information
158
- pcreapi details of PCRE's native C API
159
- pcrebuild options for building PCRE
160
- pcrecallout details of the callout feature
161
- pcrecompat discussion of Perl compatibility
162
- pcrecpp details of the C++ wrapper for the 8-bit library
163
- pcredemo a demonstration C program that uses PCRE
164
- pcregrep description of the <b>pcregrep</b> command (8-bit only)
165
- pcrejit discussion of the just-in-time optimization support
166
- pcrelimits details of size and other limits
167
- pcrematching discussion of the two matching algorithms
168
- pcrepartial details of the partial matching facility
169
- pcrepattern syntax and semantics of supported regular expressions
170
- pcreperform discussion of performance issues
171
- pcreposix the POSIX-compatible C API for the 8-bit library
172
- pcreprecompile details of saving and re-using precompiled patterns
173
- pcresample discussion of the pcredemo program
174
- pcrestack discussion of stack usage
175
- pcresyntax quick syntax reference
176
- pcretest description of the <b>pcretest</b> testing command
177
- pcreunicode discussion of Unicode and UTF-8/16/32 support
178
- </pre>
179
- In addition, in the "man" and HTML formats, there is a short page for each
180
- C library function, listing its arguments and results.
181
- </P>
182
- <br><a name="SEC4" href="#TOC1">AUTHOR</a><br>
183
- <P>
184
- Philip Hazel
185
- <br>
186
- University Computing Service
187
- <br>
188
- Cambridge CB2 3QH, England.
189
- <br>
190
- </P>
191
- <P>
192
- Putting an actual email address here seems to have been a spam magnet, so I've
193
- taken it away. If you want to email me, use my two initials, followed by the
194
- two digits 10, at the domain cam.ac.uk.
195
- </P>
196
- <br><a name="SEC5" href="#TOC1">REVISION</a><br>
197
- <P>
198
- Last updated: 11 November 2012
199
- <br>
200
- Copyright &copy; 1997-2012 University of Cambridge.
201
- <br>
202
- <p>
203
- Return to the <a href="index.html">PCRE index page</a>.
204
- </p>
@@ -1,383 +0,0 @@
1
- <html>
2
- <head>
3
- <title>pcre16 specification</title>
4
- </head>
5
- <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6
- <h1>pcre16 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">PCRE 16-BIT API BASIC FUNCTIONS</a>
17
- <li><a name="TOC2" href="#SEC2">PCRE 16-BIT API STRING EXTRACTION FUNCTIONS</a>
18
- <li><a name="TOC3" href="#SEC3">PCRE 16-BIT API AUXILIARY FUNCTIONS</a>
19
- <li><a name="TOC4" href="#SEC4">PCRE 16-BIT API INDIRECTED FUNCTIONS</a>
20
- <li><a name="TOC5" href="#SEC5">PCRE 16-BIT API 16-BIT-ONLY FUNCTION</a>
21
- <li><a name="TOC6" href="#SEC6">THE PCRE 16-BIT LIBRARY</a>
22
- <li><a name="TOC7" href="#SEC7">THE HEADER FILE</a>
23
- <li><a name="TOC8" href="#SEC8">THE LIBRARY NAME</a>
24
- <li><a name="TOC9" href="#SEC9">STRING TYPES</a>
25
- <li><a name="TOC10" href="#SEC10">STRUCTURE TYPES</a>
26
- <li><a name="TOC11" href="#SEC11">16-BIT FUNCTIONS</a>
27
- <li><a name="TOC12" href="#SEC12">SUBJECT STRING OFFSETS</a>
28
- <li><a name="TOC13" href="#SEC13">NAMED SUBPATTERNS</a>
29
- <li><a name="TOC14" href="#SEC14">OPTION NAMES</a>
30
- <li><a name="TOC15" href="#SEC15">CHARACTER CODES</a>
31
- <li><a name="TOC16" href="#SEC16">ERROR NAMES</a>
32
- <li><a name="TOC17" href="#SEC17">ERROR TEXTS</a>
33
- <li><a name="TOC18" href="#SEC18">CALLOUTS</a>
34
- <li><a name="TOC19" href="#SEC19">TESTING</a>
35
- <li><a name="TOC20" href="#SEC20">NOT SUPPORTED IN 16-BIT MODE</a>
36
- <li><a name="TOC21" href="#SEC21">AUTHOR</a>
37
- <li><a name="TOC22" href="#SEC22">REVISION</a>
38
- </ul>
39
- <P>
40
- <b>#include &#60;pcre.h&#62;</b>
41
- </P>
42
- <br><a name="SEC1" href="#TOC1">PCRE 16-BIT API BASIC FUNCTIONS</a><br>
43
- <P>
44
- <b>pcre16 *pcre16_compile(PCRE_SPTR16 <i>pattern</i>, int <i>options</i>,</b>
45
- <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
46
- <b>const unsigned char *<i>tableptr</i>);</b>
47
- </P>
48
- <P>
49
- <b>pcre16 *pcre16_compile2(PCRE_SPTR16 <i>pattern</i>, int <i>options</i>,</b>
50
- <b>int *<i>errorcodeptr</i>,</b>
51
- <b>const char **<i>errptr</i>, int *<i>erroffset</i>,</b>
52
- <b>const unsigned char *<i>tableptr</i>);</b>
53
- </P>
54
- <P>
55
- <b>pcre16_extra *pcre16_study(const pcre16 *<i>code</i>, int <i>options</i>,</b>
56
- <b>const char **<i>errptr</i>);</b>
57
- </P>
58
- <P>
59
- <b>void pcre16_free_study(pcre16_extra *<i>extra</i>);</b>
60
- </P>
61
- <P>
62
- <b>int pcre16_exec(const pcre16 *<i>code</i>, const pcre16_extra *<i>extra</i>,</b>
63
- <b>PCRE_SPTR16 <i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>
64
- <b>int <i>options</i>, int *<i>ovector</i>, int <i>ovecsize</i>);</b>
65
- </P>
66
- <P>
67
- <b>int pcre16_dfa_exec(const pcre16 *<i>code</i>, const pcre16_extra *<i>extra</i>,</b>
68
- <b>PCRE_SPTR16 <i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>
69
- <b>int <i>options</i>, int *<i>ovector</i>, int <i>ovecsize</i>,</b>
70
- <b>int *<i>workspace</i>, int <i>wscount</i>);</b>
71
- </P>
72
- <br><a name="SEC2" href="#TOC1">PCRE 16-BIT API STRING EXTRACTION FUNCTIONS</a><br>
73
- <P>
74
- <b>int pcre16_copy_named_substring(const pcre16 *<i>code</i>,</b>
75
- <b>PCRE_SPTR16 <i>subject</i>, int *<i>ovector</i>,</b>
76
- <b>int <i>stringcount</i>, PCRE_SPTR16 <i>stringname</i>,</b>
77
- <b>PCRE_UCHAR16 *<i>buffer</i>, int <i>buffersize</i>);</b>
78
- </P>
79
- <P>
80
- <b>int pcre16_copy_substring(PCRE_SPTR16 <i>subject</i>, int *<i>ovector</i>,</b>
81
- <b>int <i>stringcount</i>, int <i>stringnumber</i>, PCRE_UCHAR16 *<i>buffer</i>,</b>
82
- <b>int <i>buffersize</i>);</b>
83
- </P>
84
- <P>
85
- <b>int pcre16_get_named_substring(const pcre16 *<i>code</i>,</b>
86
- <b>PCRE_SPTR16 <i>subject</i>, int *<i>ovector</i>,</b>
87
- <b>int <i>stringcount</i>, PCRE_SPTR16 <i>stringname</i>,</b>
88
- <b>PCRE_SPTR16 *<i>stringptr</i>);</b>
89
- </P>
90
- <P>
91
- <b>int pcre16_get_stringnumber(const pcre16 *<i>code</i>,</b>
92
- <b>PCRE_SPTR16 <i>name</i>);</b>
93
- </P>
94
- <P>
95
- <b>int pcre16_get_stringtable_entries(const pcre16 *<i>code</i>,</b>
96
- <b>PCRE_SPTR16 <i>name</i>, PCRE_UCHAR16 **<i>first</i>, PCRE_UCHAR16 **<i>last</i>);</b>
97
- </P>
98
- <P>
99
- <b>int pcre16_get_substring(PCRE_SPTR16 <i>subject</i>, int *<i>ovector</i>,</b>
100
- <b>int <i>stringcount</i>, int <i>stringnumber</i>,</b>
101
- <b>PCRE_SPTR16 *<i>stringptr</i>);</b>
102
- </P>
103
- <P>
104
- <b>int pcre16_get_substring_list(PCRE_SPTR16 <i>subject</i>,</b>
105
- <b>int *<i>ovector</i>, int <i>stringcount</i>, PCRE_SPTR16 **<i>listptr</i>);</b>
106
- </P>
107
- <P>
108
- <b>void pcre16_free_substring(PCRE_SPTR16 <i>stringptr</i>);</b>
109
- </P>
110
- <P>
111
- <b>void pcre16_free_substring_list(PCRE_SPTR16 *<i>stringptr</i>);</b>
112
- </P>
113
- <br><a name="SEC3" href="#TOC1">PCRE 16-BIT API AUXILIARY FUNCTIONS</a><br>
114
- <P>
115
- <b>pcre16_jit_stack *pcre16_jit_stack_alloc(int <i>startsize</i>, int <i>maxsize</i>);</b>
116
- </P>
117
- <P>
118
- <b>void pcre16_jit_stack_free(pcre16_jit_stack *<i>stack</i>);</b>
119
- </P>
120
- <P>
121
- <b>void pcre16_assign_jit_stack(pcre16_extra *<i>extra</i>,</b>
122
- <b>pcre16_jit_callback <i>callback</i>, void *<i>data</i>);</b>
123
- </P>
124
- <P>
125
- <b>const unsigned char *pcre16_maketables(void);</b>
126
- </P>
127
- <P>
128
- <b>int pcre16_fullinfo(const pcre16 *<i>code</i>, const pcre16_extra *<i>extra</i>,</b>
129
- <b>int <i>what</i>, void *<i>where</i>);</b>
130
- </P>
131
- <P>
132
- <b>int pcre16_refcount(pcre16 *<i>code</i>, int <i>adjust</i>);</b>
133
- </P>
134
- <P>
135
- <b>int pcre16_config(int <i>what</i>, void *<i>where</i>);</b>
136
- </P>
137
- <P>
138
- <b>const char *pcre16_version(void);</b>
139
- </P>
140
- <P>
141
- <b>int pcre16_pattern_to_host_byte_order(pcre16 *<i>code</i>,</b>
142
- <b>pcre16_extra *<i>extra</i>, const unsigned char *<i>tables</i>);</b>
143
- </P>
144
- <br><a name="SEC4" href="#TOC1">PCRE 16-BIT API INDIRECTED FUNCTIONS</a><br>
145
- <P>
146
- <b>void *(*pcre16_malloc)(size_t);</b>
147
- </P>
148
- <P>
149
- <b>void (*pcre16_free)(void *);</b>
150
- </P>
151
- <P>
152
- <b>void *(*pcre16_stack_malloc)(size_t);</b>
153
- </P>
154
- <P>
155
- <b>void (*pcre16_stack_free)(void *);</b>
156
- </P>
157
- <P>
158
- <b>int (*pcre16_callout)(pcre16_callout_block *);</b>
159
- </P>
160
- <br><a name="SEC5" href="#TOC1">PCRE 16-BIT API 16-BIT-ONLY FUNCTION</a><br>
161
- <P>
162
- <b>int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *<i>output</i>,</b>
163
- <b>PCRE_SPTR16 <i>input</i>, int <i>length</i>, int *<i>byte_order</i>,</b>
164
- <b>int <i>keep_boms</i>);</b>
165
- </P>
166
- <br><a name="SEC6" href="#TOC1">THE PCRE 16-BIT LIBRARY</a><br>
167
- <P>
168
- Starting with release 8.30, it is possible to compile a PCRE library that
169
- supports 16-bit character strings, including UTF-16 strings, as well as or
170
- instead of the original 8-bit library. The majority of the work to make this
171
- possible was done by Zoltan Herczeg. The two libraries contain identical sets
172
- of functions, used in exactly the same way. Only the names of the functions and
173
- the data types of their arguments and results are different. To avoid
174
- over-complication and reduce the documentation maintenance load, most of the
175
- PCRE documentation describes the 8-bit library, with only occasional references
176
- to the 16-bit library. This page describes what is different when you use the
177
- 16-bit library.
178
- </P>
179
- <P>
180
- WARNING: A single application can be linked with both libraries, but you must
181
- take care when processing any particular pattern to use functions from just one
182
- library. For example, if you want to study a pattern that was compiled with
183
- <b>pcre16_compile()</b>, you must do so with <b>pcre16_study()</b>, not
184
- <b>pcre_study()</b>, and you must free the study data with
185
- <b>pcre16_free_study()</b>.
186
- </P>
187
- <br><a name="SEC7" href="#TOC1">THE HEADER FILE</a><br>
188
- <P>
189
- There is only one header file, <b>pcre.h</b>. It contains prototypes for all the
190
- functions in all libraries, as well as definitions of flags, structures, error
191
- codes, etc.
192
- </P>
193
- <br><a name="SEC8" href="#TOC1">THE LIBRARY NAME</a><br>
194
- <P>
195
- In Unix-like systems, the 16-bit library is called <b>libpcre16</b>, and can
196
- normally be accesss by adding <b>-lpcre16</b> to the command for linking an
197
- application that uses PCRE.
198
- </P>
199
- <br><a name="SEC9" href="#TOC1">STRING TYPES</a><br>
200
- <P>
201
- In the 8-bit library, strings are passed to PCRE library functions as vectors
202
- of bytes with the C type "char *". In the 16-bit library, strings are passed as
203
- vectors of unsigned 16-bit quantities. The macro PCRE_UCHAR16 specifies an
204
- appropriate data type, and PCRE_SPTR16 is defined as "const PCRE_UCHAR16 *". In
205
- very many environments, "short int" is a 16-bit data type. When PCRE is built,
206
- it defines PCRE_UCHAR16 as "unsigned short int", but checks that it really is a
207
- 16-bit data type. If it is not, the build fails with an error message telling
208
- the maintainer to modify the definition appropriately.
209
- </P>
210
- <br><a name="SEC10" href="#TOC1">STRUCTURE TYPES</a><br>
211
- <P>
212
- The types of the opaque structures that are used for compiled 16-bit patterns
213
- and JIT stacks are <b>pcre16</b> and <b>pcre16_jit_stack</b> respectively. The
214
- type of the user-accessible structure that is returned by <b>pcre16_study()</b>
215
- is <b>pcre16_extra</b>, and the type of the structure that is used for passing
216
- data to a callout function is <b>pcre16_callout_block</b>. These structures
217
- contain the same fields, with the same names, as their 8-bit counterparts. The
218
- only difference is that pointers to character strings are 16-bit instead of
219
- 8-bit types.
220
- </P>
221
- <br><a name="SEC11" href="#TOC1">16-BIT FUNCTIONS</a><br>
222
- <P>
223
- For every function in the 8-bit library there is a corresponding function in
224
- the 16-bit library with a name that starts with <b>pcre16_</b> instead of
225
- <b>pcre_</b>. The prototypes are listed above. In addition, there is one extra
226
- function, <b>pcre16_utf16_to_host_byte_order()</b>. This is a utility function
227
- that converts a UTF-16 character string to host byte order if necessary. The
228
- other 16-bit functions expect the strings they are passed to be in host byte
229
- order.
230
- </P>
231
- <P>
232
- The <i>input</i> and <i>output</i> arguments of
233
- <b>pcre16_utf16_to_host_byte_order()</b> may point to the same address, that is,
234
- conversion in place is supported. The output buffer must be at least as long as
235
- the input.
236
- </P>
237
- <P>
238
- The <i>length</i> argument specifies the number of 16-bit data units in the
239
- input string; a negative value specifies a zero-terminated string.
240
- </P>
241
- <P>
242
- If <i>byte_order</i> is NULL, it is assumed that the string starts off in host
243
- byte order. This may be changed by byte-order marks (BOMs) anywhere in the
244
- string (commonly as the first character).
245
- </P>
246
- <P>
247
- If <i>byte_order</i> is not NULL, a non-zero value of the integer to which it
248
- points means that the input starts off in host byte order, otherwise the
249
- opposite order is assumed. Again, BOMs in the string can change this. The final
250
- byte order is passed back at the end of processing.
251
- </P>
252
- <P>
253
- If <i>keep_boms</i> is not zero, byte-order mark characters (0xfeff) are copied
254
- into the output string. Otherwise they are discarded.
255
- </P>
256
- <P>
257
- The result of the function is the number of 16-bit units placed into the output
258
- buffer, including the zero terminator if the string was zero-terminated.
259
- </P>
260
- <br><a name="SEC12" href="#TOC1">SUBJECT STRING OFFSETS</a><br>
261
- <P>
262
- The offsets within subject strings that are returned by the matching functions
263
- are in 16-bit units rather than bytes.
264
- </P>
265
- <br><a name="SEC13" href="#TOC1">NAMED SUBPATTERNS</a><br>
266
- <P>
267
- The name-to-number translation table that is maintained for named subpatterns
268
- uses 16-bit characters. The <b>pcre16_get_stringtable_entries()</b> function
269
- returns the length of each entry in the table as the number of 16-bit data
270
- units.
271
- </P>
272
- <br><a name="SEC14" href="#TOC1">OPTION NAMES</a><br>
273
- <P>
274
- There are two new general option names, PCRE_UTF16 and PCRE_NO_UTF16_CHECK,
275
- which correspond to PCRE_UTF8 and PCRE_NO_UTF8_CHECK in the 8-bit library. In
276
- fact, these new options define the same bits in the options word. There is a
277
- discussion about the
278
- <a href="pcreunicode.html#utf16strings">validity of UTF-16 strings</a>
279
- in the
280
- <a href="pcreunicode.html"><b>pcreunicode</b></a>
281
- page.
282
- </P>
283
- <P>
284
- For the <b>pcre16_config()</b> function there is an option PCRE_CONFIG_UTF16
285
- that returns 1 if UTF-16 support is configured, otherwise 0. If this option is
286
- given to <b>pcre_config()</b> or <b>pcre32_config()</b>, or if the
287
- PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF32 option is given to <b>pcre16_config()</b>,
288
- the result is the PCRE_ERROR_BADOPTION error.
289
- </P>
290
- <br><a name="SEC15" href="#TOC1">CHARACTER CODES</a><br>
291
- <P>
292
- In 16-bit mode, when PCRE_UTF16 is not set, character values are treated in the
293
- same way as in 8-bit, non UTF-8 mode, except, of course, that they can range
294
- from 0 to 0xffff instead of 0 to 0xff. Character types for characters less than
295
- 0xff can therefore be influenced by the locale in the same way as before.
296
- Characters greater than 0xff have only one case, and no "type" (such as letter
297
- or digit).
298
- </P>
299
- <P>
300
- In UTF-16 mode, the character code is Unicode, in the range 0 to 0x10ffff, with
301
- the exception of values in the range 0xd800 to 0xdfff because those are
302
- "surrogate" values that are used in pairs to encode values greater than 0xffff.
303
- </P>
304
- <P>
305
- A UTF-16 string can indicate its endianness by special code knows as a
306
- byte-order mark (BOM). The PCRE functions do not handle this, expecting strings
307
- to be in host byte order. A utility function called
308
- <b>pcre16_utf16_to_host_byte_order()</b> is provided to help with this (see
309
- above).
310
- </P>
311
- <br><a name="SEC16" href="#TOC1">ERROR NAMES</a><br>
312
- <P>
313
- The errors PCRE_ERROR_BADUTF16_OFFSET and PCRE_ERROR_SHORTUTF16 correspond to
314
- their 8-bit counterparts. The error PCRE_ERROR_BADMODE is given when a compiled
315
- pattern is passed to a function that processes patterns in the other
316
- mode, for example, if a pattern compiled with <b>pcre_compile()</b> is passed to
317
- <b>pcre16_exec()</b>.
318
- </P>
319
- <P>
320
- There are new error codes whose names begin with PCRE_UTF16_ERR for invalid
321
- UTF-16 strings, corresponding to the PCRE_UTF8_ERR codes for UTF-8 strings that
322
- are described in the section entitled
323
- <a href="pcreapi.html#badutf8reasons">"Reason codes for invalid UTF-8 strings"</a>
324
- in the main
325
- <a href="pcreapi.html"><b>pcreapi</b></a>
326
- page. The UTF-16 errors are:
327
- <pre>
328
- PCRE_UTF16_ERR1 Missing low surrogate at end of string
329
- PCRE_UTF16_ERR2 Invalid low surrogate follows high surrogate
330
- PCRE_UTF16_ERR3 Isolated low surrogate
331
- PCRE_UTF16_ERR4 Non-character
332
- </PRE>
333
- </P>
334
- <br><a name="SEC17" href="#TOC1">ERROR TEXTS</a><br>
335
- <P>
336
- If there is an error while compiling a pattern, the error text that is passed
337
- back by <b>pcre16_compile()</b> or <b>pcre16_compile2()</b> is still an 8-bit
338
- character string, zero-terminated.
339
- </P>
340
- <br><a name="SEC18" href="#TOC1">CALLOUTS</a><br>
341
- <P>
342
- The <i>subject</i> and <i>mark</i> fields in the callout block that is passed to
343
- a callout function point to 16-bit vectors.
344
- </P>
345
- <br><a name="SEC19" href="#TOC1">TESTING</a><br>
346
- <P>
347
- The <b>pcretest</b> program continues to operate with 8-bit input and output
348
- files, but it can be used for testing the 16-bit library. If it is run with the
349
- command line option <b>-16</b>, patterns and subject strings are converted from
350
- 8-bit to 16-bit before being passed to PCRE, and the 16-bit library functions
351
- are used instead of the 8-bit ones. Returned 16-bit strings are converted to
352
- 8-bit for output. If both the 8-bit and the 32-bit libraries were not compiled,
353
- <b>pcretest</b> defaults to 16-bit and the <b>-16</b> option is ignored.
354
- </P>
355
- <P>
356
- When PCRE is being built, the <b>RunTest</b> script that is called by "make
357
- check" uses the <b>pcretest</b> <b>-C</b> option to discover which of the 8-bit,
358
- 16-bit and 32-bit libraries has been built, and runs the tests appropriately.
359
- </P>
360
- <br><a name="SEC20" href="#TOC1">NOT SUPPORTED IN 16-BIT MODE</a><br>
361
- <P>
362
- Not all the features of the 8-bit library are available with the 16-bit
363
- library. The C++ and POSIX wrapper functions support only the 8-bit library,
364
- and the <b>pcregrep</b> program is at present 8-bit only.
365
- </P>
366
- <br><a name="SEC21" href="#TOC1">AUTHOR</a><br>
367
- <P>
368
- Philip Hazel
369
- <br>
370
- University Computing Service
371
- <br>
372
- Cambridge CB2 3QH, England.
373
- <br>
374
- </P>
375
- <br><a name="SEC22" href="#TOC1">REVISION</a><br>
376
- <P>
377
- Last updated: 08 November 2012
378
- <br>
379
- Copyright &copy; 1997-2012 University of Cambridge.
380
- <br>
381
- <p>
382
- Return to the <a href="index.html">PCRE index page</a>.
383
- </p>