esruby 0.0.0 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +6 -6
- data/bin/esruby +9 -0
- data/lib/esruby.rb +8 -0
- data/resources/mruby/build_config.rb +0 -1
- data/resources/mruby/mrbgems/mruby-print/mrblib/print.rb +1 -1
- data/resources/project_template/app/app.rb +2 -0
- data/resources/project_template/config.rb +35 -0
- data/resources/project_template/www/index.html +17 -0
- metadata +6 -377
- data/resources/mruby/bin/mirb +0 -0
- data/resources/mruby/bin/mrbc +0 -0
- data/resources/mruby/bin/mruby +0 -0
- data/resources/mruby/bin/mruby-strip +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/README.md +0 -82
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrbgem.rake +0 -63
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrblib/regexp_pcre.rb +0 -232
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/mrblib/string_pcre.rb +0 -333
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/132html +0 -313
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/AUTHORS +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CMakeLists.txt +0 -959
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/COPYING +0 -5
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ChangeLog +0 -4981
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CheckMan +0 -67
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/CleanTxt +0 -113
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Detrail +0 -35
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/HACKING +0 -473
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/INSTALL +0 -370
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/LICENCE +0 -92
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Makefile.am +0 -877
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/Makefile.in +0 -2917
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NEWS +0 -611
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NON-AUTOTOOLS-BUILD +0 -639
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/NON-UNIX-USE +0 -7
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/PrepareRelease +0 -253
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/README +0 -935
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunGrepTest +0 -551
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunTest +0 -1015
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/RunTest.bat +0 -616
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/aclocal.m4 +0 -1230
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/output.0 +0 -21280
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/output.1 +0 -21280
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/requests +0 -273
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/traces.0 +0 -2421
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/autom4te.cache/traces.1 +0 -1144
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/COPYING-CMAKE-SCRIPTS +0 -22
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindEditline.cmake +0 -17
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindPackageHandleStandardArgs.cmake +0 -58
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/cmake/FindReadline.cmake +0 -29
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/compile +0 -343
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config-cmake.h.in +0 -54
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.guess +0 -1552
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h +0 -392
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h.generic +0 -392
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.h.in +0 -343
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/config.sub +0 -1804
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/configure +0 -21280
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/configure.ac +0 -1082
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/depcomp +0 -708
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/dftables.c +0 -212
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/index.html +0 -180
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre-config.html +0 -109
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre.html +0 -204
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre16.html +0 -383
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_assign_jit_stack.html +0 -76
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_compile.html +0 -108
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_compile2.html +0 -112
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_config.html +0 -91
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_copy_named_substring.html +0 -65
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_copy_substring.html +0 -61
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_dfa_exec.html +0 -128
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_exec.html +0 -110
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_study.html +0 -46
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_substring.html +0 -46
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_free_substring_list.html +0 -46
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_fullinfo.html +0 -108
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_named_substring.html +0 -68
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_stringnumber.html +0 -57
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_stringtable_entries.html +0 -60
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_substring.html +0 -64
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_get_substring_list.html +0 -61
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_exec.html +0 -108
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_stack_alloc.html +0 -55
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_jit_stack_free.html +0 -48
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_maketables.html +0 -48
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_pattern_to_host_byte_order.html +0 -58
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_refcount.html +0 -51
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_study.html +0 -68
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_utf16_to_host_byte_order.html +0 -57
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcre_version.html +0 -46
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreapi.html +0 -2786
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrebuild.html +0 -517
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecallout.html +0 -243
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecompat.html +0 -216
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrecpp.html +0 -368
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcredemo.html +0 -426
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcregrep.html +0 -757
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrejit.html +0 -458
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrelimits.html +0 -86
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrematching.html +0 -233
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrepartial.html +0 -474
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrepattern.html +0 -2953
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreperform.html +0 -195
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreposix.html +0 -292
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreprecompile.html +0 -158
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcresample.html +0 -110
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcrestack.html +0 -225
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcresyntax.html +0 -521
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcretest.html +0 -1082
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/html/pcreunicode.html +0 -270
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/index.html.src +0 -180
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre-config.1 +0 -92
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre-config.txt +0 -86
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre.3 +0 -202
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre.txt +0 -9909
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre16.3 +0 -390
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre32.3 +0 -389
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_assign_jit_stack.3 +0 -61
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_compile.3 +0 -98
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_compile2.3 +0 -106
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_config.3 +0 -76
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_copy_named_substring.3 +0 -59
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_copy_substring.3 +0 -52
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_dfa_exec.3 +0 -125
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_exec.3 +0 -103
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_study.3 +0 -31
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_substring.3 +0 -31
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_free_substring_list.3 +0 -31
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_fullinfo.3 +0 -95
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_named_substring.3 +0 -62
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_stringnumber.3 +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_stringtable_entries.3 +0 -48
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_substring.3 +0 -55
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_get_substring_list.3 +0 -49
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_exec.3 +0 -104
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_stack_alloc.3 +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_jit_stack_free.3 +0 -35
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_maketables.3 +0 -33
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_pattern_to_host_byte_order.3 +0 -46
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_refcount.3 +0 -36
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_study.3 +0 -56
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_utf16_to_host_byte_order.3 +0 -46
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_utf32_to_host_byte_order.3 +0 -46
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcre_version.3 +0 -31
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreapi.3 +0 -2823
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrebuild.3 +0 -520
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecallout.3 +0 -214
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecompat.3 +0 -185
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrecpp.3 +0 -348
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcregrep.1 +0 -679
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcregrep.txt +0 -740
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrejit.3 +0 -437
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrelimits.3 +0 -67
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrematching.3 +0 -206
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrepartial.3 +0 -445
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrepattern.3 +0 -2983
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreperform.3 +0 -177
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreposix.3 +0 -270
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreprecompile.3 +0 -151
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcresample.3 +0 -99
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcrestack.3 +0 -215
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcresyntax.3 +0 -496
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcretest.1 +0 -1079
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcretest.txt +0 -1012
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/pcreunicode.3 +0 -255
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/doc/perltest.txt +0 -42
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/install-sh +0 -527
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre.pc.in +0 -12
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre16.pc.in +0 -12
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcre32.pc.in +0 -12
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcrecpp.pc.in +0 -12
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/libpcreposix.pc.in +0 -13
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ltmain.sh +0 -9636
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ax_pthread.m4 +0 -309
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/libtool.m4 +0 -7844
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltoptions.m4 +0 -369
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltsugar.m4 +0 -123
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/ltversion.m4 +0 -23
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/lt~obsolete.m4 +0 -98
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/m4/pcre_visibility.m4 +0 -89
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp.bat +0 -66
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp_c.txt +0 -20
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/makevp_l.txt +0 -20
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/missing +0 -331
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre-config.in +0 -133
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h +0 -653
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h.generic +0 -653
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre.h.in +0 -653
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_byte_order.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_chartables.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_compile.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_config.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_dfa_exec.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_exec.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_fullinfo.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_get.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_globals.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_jit_compile.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_maketables.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_newline.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_ord2utf16.c +0 -90
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_printint.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_refcount.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_string_utils.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_study.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_tables.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_ucd.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_utf16_utils.c +0 -130
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_valid_utf16.c +0 -156
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_version.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre16_xclass.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_byte_order.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_chartables.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_compile.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_config.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_dfa_exec.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_exec.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_fullinfo.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_get.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_globals.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_jit_compile.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_maketables.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_newline.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_ord2utf32.c +0 -82
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_printint.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_refcount.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_string_utils.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_study.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_tables.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_ucd.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_utf32_utils.c +0 -141
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_valid_utf32.c +0 -131
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_version.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre32_xclass.c +0 -45
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_byte_order.c +0 -318
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_chartables.c +0 -198
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_chartables.c.dist +0 -198
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_compile.c +0 -8386
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_config.c +0 -186
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_dfa_exec.c +0 -3582
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_exec.c +0 -7049
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_fullinfo.c +0 -231
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_get.c +0 -662
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_globals.c +0 -84
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_internal.h +0 -2744
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_jit_compile.c +0 -8560
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_jit_test.c +0 -1614
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_maketables.c +0 -151
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_newline.c +0 -210
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_ord2utf8.c +0 -94
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_printint.c +0 -766
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_refcount.c +0 -92
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner.cc +0 -199
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner.h +0 -172
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_scanner_unittest.cc +0 -159
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_string_utils.c +0 -211
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece.cc +0 -43
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece.h.in +0 -179
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_stringpiece_unittest.cc +0 -150
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_study.c +0 -1562
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_tables.c +0 -655
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_ucd.c +0 -3298
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_valid_utf8.c +0 -312
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_version.c +0 -98
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcre_xclass.c +0 -198
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp.cc +0 -922
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp.h +0 -710
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp_internal.h +0 -71
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpp_unittest.cc +0 -1291
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcrecpparg.h.in +0 -174
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcredemo.c +0 -406
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcregexp.pas +0 -845
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcregrep.c +0 -3180
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcreposix.c +0 -419
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcreposix.h +0 -146
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/pcretest.c +0 -5488
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/perltest.pl +0 -237
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitConfig.h +0 -110
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitConfigInternal.h +0 -484
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitExecAllocator.c +0 -289
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitLir.c +0 -1766
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitLir.h +0 -985
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeARM_Thumb2.c +0 -2008
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeARM_v5.c +0 -2515
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeMIPS_32.c +0 -404
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeMIPS_common.c +0 -1881
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_32.c +0 -269
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_64.c +0 -421
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativePPC_common.c +0 -2014
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeSPARC_32.c +0 -164
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeSPARC_common.c +0 -1348
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_32.c +0 -547
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_64.c +0 -810
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitNativeX86_common.c +0 -2836
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/sljit/sljitUtils.c +0 -332
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepbinary +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepfilelist +0 -3
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput +0 -611
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput3 +0 -15
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinput8 +0 -11
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinputv +0 -4
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepinputx +0 -43
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/greplist +0 -7
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutput +0 -707
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutput8 +0 -12
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/grepoutputN +0 -17
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/greppatN4 +0 -2
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16BE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16BE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16LE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved16LE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32BE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32BE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32LE-1 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved32LE-2 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/saved8 +0 -0
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput1 +0 -5306
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput10 +0 -1337
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput11 +0 -135
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput12 +0 -89
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput13 +0 -9
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput14 +0 -329
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput15 +0 -430
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput16 +0 -35
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput17 +0 -296
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput18 +0 -296
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput19 +0 -22
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput2 +0 -3813
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput20 +0 -19
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput21 +0 -16
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput22 +0 -13
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput23 +0 -16
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput24 +0 -77
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput25 +0 -32
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput26 +0 -80
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput3 +0 -95
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput4 +0 -624
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput5 +0 -772
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput6 +0 -1319
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput7 +0 -672
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput8 +0 -4801
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinput9 +0 -717
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testinputEBC +0 -121
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput1 +0 -8798
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput10 +0 -2726
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-16 +0 -713
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-32 +0 -713
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput11-8 +0 -713
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput12 +0 -181
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput13 +0 -21
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput14 +0 -476
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput15 +0 -1269
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput16 +0 -121
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput17 +0 -505
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput18-16 +0 -1022
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput18-32 +0 -1019
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput19 +0 -88
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput2 +0 -12484
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput20 +0 -27
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput21-16 +0 -90
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput21-32 +0 -90
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput22-16 +0 -71
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput22-32 +0 -71
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput23 +0 -42
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput24 +0 -145
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput25 +0 -79
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput26 +0 -148
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput3 +0 -169
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput4 +0 -1094
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput5 +0 -1849
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput6 +0 -2137
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput7 +0 -1473
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput8 +0 -8019
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutput9 +0 -1371
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/testoutputEBC +0 -182
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/wintestinput3 +0 -91
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/testdata/wintestoutput3 +0 -166
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/pcre/ucp.h +0 -197
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/run_test.rb +0 -23
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/src/mruby_regexp_pcre.c +0 -364
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/matchdata.rb +0 -94
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/regexp.rb +0 -264
- data/resources/mruby/build/mrbgems/mruby-regexp-pcre/test/string.rb +0 -201
@@ -1,243 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>pcrecallout specification</title>
|
4
|
-
</head>
|
5
|
-
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
-
<h1>pcrecallout man page</h1>
|
7
|
-
<p>
|
8
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
9
|
-
</p>
|
10
|
-
<p>
|
11
|
-
This page is part of the PCRE HTML documentation. It was generated automatically
|
12
|
-
from the original man page. If there is any nonsense in it, please consult the
|
13
|
-
man page, in case the conversion went wrong.
|
14
|
-
<br>
|
15
|
-
<ul>
|
16
|
-
<li><a name="TOC1" href="#SEC1">SYNOPSIS</a>
|
17
|
-
<li><a name="TOC2" href="#SEC2">DESCRIPTION</a>
|
18
|
-
<li><a name="TOC3" href="#SEC3">MISSING CALLOUTS</a>
|
19
|
-
<li><a name="TOC4" href="#SEC4">THE CALLOUT INTERFACE</a>
|
20
|
-
<li><a name="TOC5" href="#SEC5">RETURN VALUES</a>
|
21
|
-
<li><a name="TOC6" href="#SEC6">AUTHOR</a>
|
22
|
-
<li><a name="TOC7" href="#SEC7">REVISION</a>
|
23
|
-
</ul>
|
24
|
-
<br><a name="SEC1" href="#TOC1">SYNOPSIS</a><br>
|
25
|
-
<P>
|
26
|
-
<b>#include <pcre.h></b>
|
27
|
-
</P>
|
28
|
-
<P>
|
29
|
-
<b>int (*pcre_callout)(pcre_callout_block *);</b>
|
30
|
-
</P>
|
31
|
-
<P>
|
32
|
-
<b>int (*pcre16_callout)(pcre16_callout_block *);</b>
|
33
|
-
</P>
|
34
|
-
<P>
|
35
|
-
<b>int (*pcre32_callout)(pcre32_callout_block *);</b>
|
36
|
-
</P>
|
37
|
-
<br><a name="SEC2" href="#TOC1">DESCRIPTION</a><br>
|
38
|
-
<P>
|
39
|
-
PCRE provides a feature called "callout", which is a means of temporarily
|
40
|
-
passing control to the caller of PCRE in the middle of pattern matching. The
|
41
|
-
caller of PCRE provides an external function by putting its entry point in the
|
42
|
-
global variable <i>pcre_callout</i> (<i>pcre16_callout</i> for the 16-bit
|
43
|
-
library, <i>pcre32_callout</i> for the 32-bit library). By default, this
|
44
|
-
variable contains NULL, which disables all calling out.
|
45
|
-
</P>
|
46
|
-
<P>
|
47
|
-
Within a regular expression, (?C) indicates the points at which the external
|
48
|
-
function is to be called. Different callout points can be identified by putting
|
49
|
-
a number less than 256 after the letter C. The default value is zero.
|
50
|
-
For example, this pattern has two callout points:
|
51
|
-
<pre>
|
52
|
-
(?C1)abc(?C2)def
|
53
|
-
</pre>
|
54
|
-
If the PCRE_AUTO_CALLOUT option bit is set when a pattern is compiled, PCRE
|
55
|
-
automatically inserts callouts, all with number 255, before each item in the
|
56
|
-
pattern. For example, if PCRE_AUTO_CALLOUT is used with the pattern
|
57
|
-
<pre>
|
58
|
-
A(\d{2}|--)
|
59
|
-
</pre>
|
60
|
-
it is processed as if it were
|
61
|
-
<br>
|
62
|
-
<br>
|
63
|
-
(?C255)A(?C255)((?C255)\d{2}(?C255)|(?C255)-(?C255)-(?C255))(?C255)
|
64
|
-
<br>
|
65
|
-
<br>
|
66
|
-
Notice that there is a callout before and after each parenthesis and
|
67
|
-
alternation bar. Automatic callouts can be used for tracking the progress of
|
68
|
-
pattern matching. The
|
69
|
-
<a href="pcretest.html"><b>pcretest</b></a>
|
70
|
-
command has an option that sets automatic callouts; when it is used, the output
|
71
|
-
indicates how the pattern is matched. This is useful information when you are
|
72
|
-
trying to optimize the performance of a particular pattern.
|
73
|
-
</P>
|
74
|
-
<P>
|
75
|
-
The use of callouts in a pattern makes it ineligible for optimization by the
|
76
|
-
just-in-time compiler. Studying such a pattern with the PCRE_STUDY_JIT_COMPILE
|
77
|
-
option always fails.
|
78
|
-
</P>
|
79
|
-
<br><a name="SEC3" href="#TOC1">MISSING CALLOUTS</a><br>
|
80
|
-
<P>
|
81
|
-
You should be aware that, because of optimizations in the way PCRE matches
|
82
|
-
patterns by default, callouts sometimes do not happen. For example, if the
|
83
|
-
pattern is
|
84
|
-
<pre>
|
85
|
-
ab(?C4)cd
|
86
|
-
</pre>
|
87
|
-
PCRE knows that any matching string must contain the letter "d". If the subject
|
88
|
-
string is "abyz", the lack of "d" means that matching doesn't ever start, and
|
89
|
-
the callout is never reached. However, with "abyd", though the result is still
|
90
|
-
no match, the callout is obeyed.
|
91
|
-
</P>
|
92
|
-
<P>
|
93
|
-
If the pattern is studied, PCRE knows the minimum length of a matching string,
|
94
|
-
and will immediately give a "no match" return without actually running a match
|
95
|
-
if the subject is not long enough, or, for unanchored patterns, if it has
|
96
|
-
been scanned far enough.
|
97
|
-
</P>
|
98
|
-
<P>
|
99
|
-
You can disable these optimizations by passing the PCRE_NO_START_OPTIMIZE
|
100
|
-
option to the matching function, or by starting the pattern with
|
101
|
-
(*NO_START_OPT). This slows down the matching process, but does ensure that
|
102
|
-
callouts such as the example above are obeyed.
|
103
|
-
</P>
|
104
|
-
<br><a name="SEC4" href="#TOC1">THE CALLOUT INTERFACE</a><br>
|
105
|
-
<P>
|
106
|
-
During matching, when PCRE reaches a callout point, the external function
|
107
|
-
defined by <i>pcre_callout</i> or <i>pcre[16|32]_callout</i> is called
|
108
|
-
(if it is set). This applies to both normal and DFA matching. The only
|
109
|
-
argument to the callout function is a pointer to a <b>pcre_callout</b>
|
110
|
-
or <b>pcre[16|32]_callout</b> block.
|
111
|
-
These structures contains the following fields:
|
112
|
-
<pre>
|
113
|
-
int <i>version</i>;
|
114
|
-
int <i>callout_number</i>;
|
115
|
-
int *<i>offset_vector</i>;
|
116
|
-
const char *<i>subject</i>; (8-bit version)
|
117
|
-
PCRE_SPTR16 <i>subject</i>; (16-bit version)
|
118
|
-
PCRE_SPTR32 <i>subject</i>; (32-bit version)
|
119
|
-
int <i>subject_length</i>;
|
120
|
-
int <i>start_match</i>;
|
121
|
-
int <i>current_position</i>;
|
122
|
-
int <i>capture_top</i>;
|
123
|
-
int <i>capture_last</i>;
|
124
|
-
void *<i>callout_data</i>;
|
125
|
-
int <i>pattern_position</i>;
|
126
|
-
int <i>next_item_length</i>;
|
127
|
-
const unsigned char *<i>mark</i>; (8-bit version)
|
128
|
-
const PCRE_UCHAR16 *<i>mark</i>; (16-bit version)
|
129
|
-
const PCRE_UCHAR32 *<i>mark</i>; (32-bit version)
|
130
|
-
</pre>
|
131
|
-
The <i>version</i> field is an integer containing the version number of the
|
132
|
-
block format. The initial version was 0; the current version is 2. The version
|
133
|
-
number will change again in future if additional fields are added, but the
|
134
|
-
intention is never to remove any of the existing fields.
|
135
|
-
</P>
|
136
|
-
<P>
|
137
|
-
The <i>callout_number</i> field contains the number of the callout, as compiled
|
138
|
-
into the pattern (that is, the number after ?C for manual callouts, and 255 for
|
139
|
-
automatically generated callouts).
|
140
|
-
</P>
|
141
|
-
<P>
|
142
|
-
The <i>offset_vector</i> field is a pointer to the vector of offsets that was
|
143
|
-
passed by the caller to the matching function. When <b>pcre_exec()</b> or
|
144
|
-
<b>pcre[16|32]_exec()</b> is used, the contents can be inspected, in order to extract
|
145
|
-
substrings that have been matched so far, in the same way as for extracting
|
146
|
-
substrings after a match has completed. For the DFA matching functions, this
|
147
|
-
field is not useful.
|
148
|
-
</P>
|
149
|
-
<P>
|
150
|
-
The <i>subject</i> and <i>subject_length</i> fields contain copies of the values
|
151
|
-
that were passed to the matching function.
|
152
|
-
</P>
|
153
|
-
<P>
|
154
|
-
The <i>start_match</i> field normally contains the offset within the subject at
|
155
|
-
which the current match attempt started. However, if the escape sequence \K
|
156
|
-
has been encountered, this value is changed to reflect the modified starting
|
157
|
-
point. If the pattern is not anchored, the callout function may be called
|
158
|
-
several times from the same point in the pattern for different starting points
|
159
|
-
in the subject.
|
160
|
-
</P>
|
161
|
-
<P>
|
162
|
-
The <i>current_position</i> field contains the offset within the subject of the
|
163
|
-
current match pointer.
|
164
|
-
</P>
|
165
|
-
<P>
|
166
|
-
When the <b>pcre_exec()</b> or <b>pcre[16|32]_exec()</b> is used, the
|
167
|
-
<i>capture_top</i> field contains one more than the number of the highest
|
168
|
-
numbered captured substring so far. If no substrings have been captured, the
|
169
|
-
value of <i>capture_top</i> is one. This is always the case when the DFA
|
170
|
-
functions are used, because they do not support captured substrings.
|
171
|
-
</P>
|
172
|
-
<P>
|
173
|
-
The <i>capture_last</i> field contains the number of the most recently captured
|
174
|
-
substring. If no substrings have been captured, its value is -1. This is always
|
175
|
-
the case for the DFA matching functions.
|
176
|
-
</P>
|
177
|
-
<P>
|
178
|
-
The <i>callout_data</i> field contains a value that is passed to a matching
|
179
|
-
function specifically so that it can be passed back in callouts. It is passed
|
180
|
-
in the <i>callout_data</i> field of a <b>pcre_extra</b> or <b>pcre[16|32]_extra</b>
|
181
|
-
data structure. If no such data was passed, the value of <i>callout_data</i> in
|
182
|
-
a callout block is NULL. There is a description of the <b>pcre_extra</b>
|
183
|
-
structure in the
|
184
|
-
<a href="pcreapi.html"><b>pcreapi</b></a>
|
185
|
-
documentation.
|
186
|
-
</P>
|
187
|
-
<P>
|
188
|
-
The <i>pattern_position</i> field is present from version 1 of the callout
|
189
|
-
structure. It contains the offset to the next item to be matched in the pattern
|
190
|
-
string.
|
191
|
-
</P>
|
192
|
-
<P>
|
193
|
-
The <i>next_item_length</i> field is present from version 1 of the callout
|
194
|
-
structure. It contains the length of the next item to be matched in the pattern
|
195
|
-
string. When the callout immediately precedes an alternation bar, a closing
|
196
|
-
parenthesis, or the end of the pattern, the length is zero. When the callout
|
197
|
-
precedes an opening parenthesis, the length is that of the entire subpattern.
|
198
|
-
</P>
|
199
|
-
<P>
|
200
|
-
The <i>pattern_position</i> and <i>next_item_length</i> fields are intended to
|
201
|
-
help in distinguishing between different automatic callouts, which all have the
|
202
|
-
same callout number. However, they are set for all callouts.
|
203
|
-
</P>
|
204
|
-
<P>
|
205
|
-
The <i>mark</i> field is present from version 2 of the callout structure. In
|
206
|
-
callouts from <b>pcre_exec()</b> or <b>pcre[16|32]_exec()</b> it contains a pointer to
|
207
|
-
the zero-terminated name of the most recently passed (*MARK), (*PRUNE), or
|
208
|
-
(*THEN) item in the match, or NULL if no such items have been passed. Instances
|
209
|
-
of (*PRUNE) or (*THEN) without a name do not obliterate a previous (*MARK). In
|
210
|
-
callouts from the DFA matching functions this field always contains NULL.
|
211
|
-
</P>
|
212
|
-
<br><a name="SEC5" href="#TOC1">RETURN VALUES</a><br>
|
213
|
-
<P>
|
214
|
-
The external callout function returns an integer to PCRE. If the value is zero,
|
215
|
-
matching proceeds as normal. If the value is greater than zero, matching fails
|
216
|
-
at the current point, but the testing of other matching possibilities goes
|
217
|
-
ahead, just as if a lookahead assertion had failed. If the value is less than
|
218
|
-
zero, the match is abandoned, the matching function returns the negative value.
|
219
|
-
</P>
|
220
|
-
<P>
|
221
|
-
Negative values should normally be chosen from the set of PCRE_ERROR_xxx
|
222
|
-
values. In particular, PCRE_ERROR_NOMATCH forces a standard "no match" failure.
|
223
|
-
The error number PCRE_ERROR_CALLOUT is reserved for use by callout functions;
|
224
|
-
it will never be used by PCRE itself.
|
225
|
-
</P>
|
226
|
-
<br><a name="SEC6" href="#TOC1">AUTHOR</a><br>
|
227
|
-
<P>
|
228
|
-
Philip Hazel
|
229
|
-
<br>
|
230
|
-
University Computing Service
|
231
|
-
<br>
|
232
|
-
Cambridge CB2 3QH, England.
|
233
|
-
<br>
|
234
|
-
</P>
|
235
|
-
<br><a name="SEC7" href="#TOC1">REVISION</a><br>
|
236
|
-
<P>
|
237
|
-
Last updated: 24 June 2012
|
238
|
-
<br>
|
239
|
-
Copyright © 1997-2012 University of Cambridge.
|
240
|
-
<br>
|
241
|
-
<p>
|
242
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
243
|
-
</p>
|
@@ -1,216 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>pcrecompat specification</title>
|
4
|
-
</head>
|
5
|
-
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
-
<h1>pcrecompat man page</h1>
|
7
|
-
<p>
|
8
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
9
|
-
</p>
|
10
|
-
<p>
|
11
|
-
This page is part of the PCRE HTML documentation. It was generated automatically
|
12
|
-
from the original man page. If there is any nonsense in it, please consult the
|
13
|
-
man page, in case the conversion went wrong.
|
14
|
-
<br>
|
15
|
-
<br><b>
|
16
|
-
DIFFERENCES BETWEEN PCRE AND PERL
|
17
|
-
</b><br>
|
18
|
-
<P>
|
19
|
-
This document describes the differences in the ways that PCRE and Perl handle
|
20
|
-
regular expressions. The differences described here are with respect to Perl
|
21
|
-
versions 5.10 and above.
|
22
|
-
</P>
|
23
|
-
<P>
|
24
|
-
1. PCRE has only a subset of Perl's Unicode support. Details of what it does
|
25
|
-
have are given in the
|
26
|
-
<a href="pcreunicode.html"><b>pcreunicode</b></a>
|
27
|
-
page.
|
28
|
-
</P>
|
29
|
-
<P>
|
30
|
-
2. PCRE allows repeat quantifiers only on parenthesized assertions, but they do
|
31
|
-
not mean what you might think. For example, (?!a){3} does not assert that the
|
32
|
-
next three characters are not "a". It just asserts that the next character is
|
33
|
-
not "a" three times (in principle: PCRE optimizes this to run the assertion
|
34
|
-
just once). Perl allows repeat quantifiers on other assertions such as \b, but
|
35
|
-
these do not seem to have any use.
|
36
|
-
</P>
|
37
|
-
<P>
|
38
|
-
3. Capturing subpatterns that occur inside negative lookahead assertions are
|
39
|
-
counted, but their entries in the offsets vector are never set. Perl sets its
|
40
|
-
numerical variables from any such patterns that are matched before the
|
41
|
-
assertion fails to match something (thereby succeeding), but only if the
|
42
|
-
negative lookahead assertion contains just one branch.
|
43
|
-
</P>
|
44
|
-
<P>
|
45
|
-
4. Though binary zero characters are supported in the subject string, they are
|
46
|
-
not allowed in a pattern string because it is passed as a normal C string,
|
47
|
-
terminated by zero. The escape sequence \0 can be used in the pattern to
|
48
|
-
represent a binary zero.
|
49
|
-
</P>
|
50
|
-
<P>
|
51
|
-
5. The following Perl escape sequences are not supported: \l, \u, \L,
|
52
|
-
\U, and \N when followed by a character name or Unicode value. (\N on its
|
53
|
-
own, matching a non-newline character, is supported.) In fact these are
|
54
|
-
implemented by Perl's general string-handling and are not part of its pattern
|
55
|
-
matching engine. If any of these are encountered by PCRE, an error is
|
56
|
-
generated by default. However, if the PCRE_JAVASCRIPT_COMPAT option is set,
|
57
|
-
\U and \u are interpreted as JavaScript interprets them.
|
58
|
-
</P>
|
59
|
-
<P>
|
60
|
-
6. The Perl escape sequences \p, \P, and \X are supported only if PCRE is
|
61
|
-
built with Unicode character property support. The properties that can be
|
62
|
-
tested with \p and \P are limited to the general category properties such as
|
63
|
-
Lu and Nd, script names such as Greek or Han, and the derived properties Any
|
64
|
-
and L&. PCRE does support the Cs (surrogate) property, which Perl does not; the
|
65
|
-
Perl documentation says "Because Perl hides the need for the user to understand
|
66
|
-
the internal representation of Unicode characters, there is no need to
|
67
|
-
implement the somewhat messy concept of surrogates."
|
68
|
-
</P>
|
69
|
-
<P>
|
70
|
-
7. PCRE does support the \Q...\E escape for quoting substrings. Characters in
|
71
|
-
between are treated as literals. This is slightly different from Perl in that $
|
72
|
-
and @ are also handled as literals inside the quotes. In Perl, they cause
|
73
|
-
variable interpolation (but of course PCRE does not have variables). Note the
|
74
|
-
following examples:
|
75
|
-
<pre>
|
76
|
-
Pattern PCRE matches Perl matches
|
77
|
-
|
78
|
-
\Qabc$xyz\E abc$xyz abc followed by the contents of $xyz
|
79
|
-
\Qabc\$xyz\E abc\$xyz abc\$xyz
|
80
|
-
\Qabc\E\$\Qxyz\E abc$xyz abc$xyz
|
81
|
-
</pre>
|
82
|
-
The \Q...\E sequence is recognized both inside and outside character classes.
|
83
|
-
</P>
|
84
|
-
<P>
|
85
|
-
8. Fairly obviously, PCRE does not support the (?{code}) and (??{code})
|
86
|
-
constructions. However, there is support for recursive patterns. This is not
|
87
|
-
available in Perl 5.8, but it is in Perl 5.10. Also, the PCRE "callout"
|
88
|
-
feature allows an external function to be called during pattern matching. See
|
89
|
-
the
|
90
|
-
<a href="pcrecallout.html"><b>pcrecallout</b></a>
|
91
|
-
documentation for details.
|
92
|
-
</P>
|
93
|
-
<P>
|
94
|
-
9. Subpatterns that are called as subroutines (whether or not recursively) are
|
95
|
-
always treated as atomic groups in PCRE. This is like Python, but unlike Perl.
|
96
|
-
Captured values that are set outside a subroutine call can be reference from
|
97
|
-
inside in PCRE, but not in Perl. There is a discussion that explains these
|
98
|
-
differences in more detail in the
|
99
|
-
<a href="pcrepattern.html#recursiondifference">section on recursion differences from Perl</a>
|
100
|
-
in the
|
101
|
-
<a href="pcrepattern.html"><b>pcrepattern</b></a>
|
102
|
-
page.
|
103
|
-
</P>
|
104
|
-
<P>
|
105
|
-
10. If any of the backtracking control verbs are used in an assertion or in a
|
106
|
-
subpattern that is called as a subroutine (whether or not recursively), their
|
107
|
-
effect is confined to that subpattern; it does not extend to the surrounding
|
108
|
-
pattern. This is not always the case in Perl. In particular, if (*THEN) is
|
109
|
-
present in a group that is called as a subroutine, its action is limited to
|
110
|
-
that group, even if the group does not contain any | characters. There is one
|
111
|
-
exception to this: the name from a *(MARK), (*PRUNE), or (*THEN) that is
|
112
|
-
encountered in a successful positive assertion <i>is</i> passed back when a
|
113
|
-
match succeeds (compare capturing parentheses in assertions). Note that such
|
114
|
-
subpatterns are processed as anchored at the point where they are tested.
|
115
|
-
</P>
|
116
|
-
<P>
|
117
|
-
11. There are some differences that are concerned with the settings of captured
|
118
|
-
strings when part of a pattern is repeated. For example, matching "aba" against
|
119
|
-
the pattern /^(a(b)?)+$/ in Perl leaves $2 unset, but in PCRE it is set to "b".
|
120
|
-
</P>
|
121
|
-
<P>
|
122
|
-
12. PCRE's handling of duplicate subpattern numbers and duplicate subpattern
|
123
|
-
names is not as general as Perl's. This is a consequence of the fact the PCRE
|
124
|
-
works internally just with numbers, using an external table to translate
|
125
|
-
between numbers and names. In particular, a pattern such as (?|(?<a>A)|(?<b)B),
|
126
|
-
where the two capturing parentheses have the same number but different names,
|
127
|
-
is not supported, and causes an error at compile time. If it were allowed, it
|
128
|
-
would not be possible to distinguish which parentheses matched, because both
|
129
|
-
names map to capturing subpattern number 1. To avoid this confusing situation,
|
130
|
-
an error is given at compile time.
|
131
|
-
</P>
|
132
|
-
<P>
|
133
|
-
13. Perl recognizes comments in some places that PCRE does not, for example,
|
134
|
-
between the ( and ? at the start of a subpattern. If the /x modifier is set,
|
135
|
-
Perl allows white space between ( and ? but PCRE never does, even if the
|
136
|
-
PCRE_EXTENDED option is set.
|
137
|
-
</P>
|
138
|
-
<P>
|
139
|
-
14. PCRE provides some extensions to the Perl regular expression facilities.
|
140
|
-
Perl 5.10 includes new features that are not in earlier versions of Perl, some
|
141
|
-
of which (such as named parentheses) have been in PCRE for some time. This list
|
142
|
-
is with respect to Perl 5.10:
|
143
|
-
<br>
|
144
|
-
<br>
|
145
|
-
(a) Although lookbehind assertions in PCRE must match fixed length strings,
|
146
|
-
each alternative branch of a lookbehind assertion can match a different length
|
147
|
-
of string. Perl requires them all to have the same length.
|
148
|
-
<br>
|
149
|
-
<br>
|
150
|
-
(b) If PCRE_DOLLAR_ENDONLY is set and PCRE_MULTILINE is not set, the $
|
151
|
-
meta-character matches only at the very end of the string.
|
152
|
-
<br>
|
153
|
-
<br>
|
154
|
-
(c) If PCRE_EXTRA is set, a backslash followed by a letter with no special
|
155
|
-
meaning is faulted. Otherwise, like Perl, the backslash is quietly ignored.
|
156
|
-
(Perl can be made to issue a warning.)
|
157
|
-
<br>
|
158
|
-
<br>
|
159
|
-
(d) If PCRE_UNGREEDY is set, the greediness of the repetition quantifiers is
|
160
|
-
inverted, that is, by default they are not greedy, but if followed by a
|
161
|
-
question mark they are.
|
162
|
-
<br>
|
163
|
-
<br>
|
164
|
-
(e) PCRE_ANCHORED can be used at matching time to force a pattern to be tried
|
165
|
-
only at the first matching position in the subject string.
|
166
|
-
<br>
|
167
|
-
<br>
|
168
|
-
(f) The PCRE_NOTBOL, PCRE_NOTEOL, PCRE_NOTEMPTY, PCRE_NOTEMPTY_ATSTART, and
|
169
|
-
PCRE_NO_AUTO_CAPTURE options for <b>pcre_exec()</b> have no Perl equivalents.
|
170
|
-
<br>
|
171
|
-
<br>
|
172
|
-
(g) The \R escape sequence can be restricted to match only CR, LF, or CRLF
|
173
|
-
by the PCRE_BSR_ANYCRLF option.
|
174
|
-
<br>
|
175
|
-
<br>
|
176
|
-
(h) The callout facility is PCRE-specific.
|
177
|
-
<br>
|
178
|
-
<br>
|
179
|
-
(i) The partial matching facility is PCRE-specific.
|
180
|
-
<br>
|
181
|
-
<br>
|
182
|
-
(j) Patterns compiled by PCRE can be saved and re-used at a later time, even on
|
183
|
-
different hosts that have the other endianness. However, this does not apply to
|
184
|
-
optimized data created by the just-in-time compiler.
|
185
|
-
<br>
|
186
|
-
<br>
|
187
|
-
(k) The alternative matching functions (<b>pcre_dfa_exec()</b>,
|
188
|
-
<b>pcre16_dfa_exec()</b> and <b>pcre32_dfa_exec()</b>,) match in a different way
|
189
|
-
and are not Perl-compatible.
|
190
|
-
<br>
|
191
|
-
<br>
|
192
|
-
(l) PCRE recognizes some special sequences such as (*CR) at the start of
|
193
|
-
a pattern that set overall options that cannot be changed within the pattern.
|
194
|
-
</P>
|
195
|
-
<br><b>
|
196
|
-
AUTHOR
|
197
|
-
</b><br>
|
198
|
-
<P>
|
199
|
-
Philip Hazel
|
200
|
-
<br>
|
201
|
-
University Computing Service
|
202
|
-
<br>
|
203
|
-
Cambridge CB2 3QH, England.
|
204
|
-
<br>
|
205
|
-
</P>
|
206
|
-
<br><b>
|
207
|
-
REVISION
|
208
|
-
</b><br>
|
209
|
-
<P>
|
210
|
-
Last updated: 25 August 2012
|
211
|
-
<br>
|
212
|
-
Copyright © 1997-2012 University of Cambridge.
|
213
|
-
<br>
|
214
|
-
<p>
|
215
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
216
|
-
</p>
|