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,158 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>pcreprecompile specification</title>
|
4
|
-
</head>
|
5
|
-
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
-
<h1>pcreprecompile 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">SAVING AND RE-USING PRECOMPILED PCRE PATTERNS</a>
|
17
|
-
<li><a name="TOC2" href="#SEC2">SAVING A COMPILED PATTERN</a>
|
18
|
-
<li><a name="TOC3" href="#SEC3">RE-USING A PRECOMPILED PATTERN</a>
|
19
|
-
<li><a name="TOC4" href="#SEC4">COMPATIBILITY WITH DIFFERENT PCRE RELEASES</a>
|
20
|
-
<li><a name="TOC5" href="#SEC5">AUTHOR</a>
|
21
|
-
<li><a name="TOC6" href="#SEC6">REVISION</a>
|
22
|
-
</ul>
|
23
|
-
<br><a name="SEC1" href="#TOC1">SAVING AND RE-USING PRECOMPILED PCRE PATTERNS</a><br>
|
24
|
-
<P>
|
25
|
-
If you are running an application that uses a large number of regular
|
26
|
-
expression patterns, it may be useful to store them in a precompiled form
|
27
|
-
instead of having to compile them every time the application is run.
|
28
|
-
If you are not using any private character tables (see the
|
29
|
-
<a href="pcre_maketables.html"><b>pcre_maketables()</b></a>
|
30
|
-
documentation), this is relatively straightforward. If you are using private
|
31
|
-
tables, it is a little bit more complicated. However, if you are using the
|
32
|
-
just-in-time optimization feature, it is not possible to save and reload the
|
33
|
-
JIT data.
|
34
|
-
</P>
|
35
|
-
<P>
|
36
|
-
If you save compiled patterns to a file, you can copy them to a different host
|
37
|
-
and run them there. If the two hosts have different endianness (byte order),
|
38
|
-
you should run the <b>pcre[16|32]_pattern_to_host_byte_order()</b> function on the
|
39
|
-
new host before trying to match the pattern. The matching functions return
|
40
|
-
PCRE_ERROR_BADENDIANNESS if they detect a pattern with the wrong endianness.
|
41
|
-
</P>
|
42
|
-
<P>
|
43
|
-
Compiling regular expressions with one version of PCRE for use with a different
|
44
|
-
version is not guaranteed to work and may cause crashes, and saving and
|
45
|
-
restoring a compiled pattern loses any JIT optimization data.
|
46
|
-
</P>
|
47
|
-
<br><a name="SEC2" href="#TOC1">SAVING A COMPILED PATTERN</a><br>
|
48
|
-
<P>
|
49
|
-
The value returned by <b>pcre[16|32]_compile()</b> points to a single block of
|
50
|
-
memory that holds the compiled pattern and associated data. You can find the
|
51
|
-
length of this block in bytes by calling <b>pcre[16|32]_fullinfo()</b> with an
|
52
|
-
argument of PCRE_INFO_SIZE. You can then save the data in any appropriate
|
53
|
-
manner. Here is sample code for the 8-bit library that compiles a pattern and
|
54
|
-
writes it to a file. It assumes that the variable <i>fd</i> refers to a file
|
55
|
-
that is open for output:
|
56
|
-
<pre>
|
57
|
-
int erroroffset, rc, size;
|
58
|
-
char *error;
|
59
|
-
pcre *re;
|
60
|
-
|
61
|
-
re = pcre_compile("my pattern", 0, &error, &erroroffset, NULL);
|
62
|
-
if (re == NULL) { ... handle errors ... }
|
63
|
-
rc = pcre_fullinfo(re, NULL, PCRE_INFO_SIZE, &size);
|
64
|
-
if (rc < 0) { ... handle errors ... }
|
65
|
-
rc = fwrite(re, 1, size, fd);
|
66
|
-
if (rc != size) { ... handle errors ... }
|
67
|
-
</pre>
|
68
|
-
In this example, the bytes that comprise the compiled pattern are copied
|
69
|
-
exactly. Note that this is binary data that may contain any of the 256 possible
|
70
|
-
byte values. On systems that make a distinction between binary and non-binary
|
71
|
-
data, be sure that the file is opened for binary output.
|
72
|
-
</P>
|
73
|
-
<P>
|
74
|
-
If you want to write more than one pattern to a file, you will have to devise a
|
75
|
-
way of separating them. For binary data, preceding each pattern with its length
|
76
|
-
is probably the most straightforward approach. Another possibility is to write
|
77
|
-
out the data in hexadecimal instead of binary, one pattern to a line.
|
78
|
-
</P>
|
79
|
-
<P>
|
80
|
-
Saving compiled patterns in a file is only one possible way of storing them for
|
81
|
-
later use. They could equally well be saved in a database, or in the memory of
|
82
|
-
some daemon process that passes them via sockets to the processes that want
|
83
|
-
them.
|
84
|
-
</P>
|
85
|
-
<P>
|
86
|
-
If the pattern has been studied, it is also possible to save the normal study
|
87
|
-
data in a similar way to the compiled pattern itself. However, if the
|
88
|
-
PCRE_STUDY_JIT_COMPILE was used, the just-in-time data that is created cannot
|
89
|
-
be saved because it is too dependent on the current environment. When studying
|
90
|
-
generates additional information, <b>pcre[16|32]_study()</b> returns a pointer to a
|
91
|
-
<b>pcre[16|32]_extra</b> data block. Its format is defined in the
|
92
|
-
<a href="pcreapi.html#extradata">section on matching a pattern</a>
|
93
|
-
in the
|
94
|
-
<a href="pcreapi.html"><b>pcreapi</b></a>
|
95
|
-
documentation. The <i>study_data</i> field points to the binary study data, and
|
96
|
-
this is what you must save (not the <b>pcre[16|32]_extra</b> block itself). The
|
97
|
-
length of the study data can be obtained by calling <b>pcre[16|32]_fullinfo()</b>
|
98
|
-
with an argument of PCRE_INFO_STUDYSIZE. Remember to check that
|
99
|
-
<b>pcre[16|32]_study()</b> did return a non-NULL value before trying to save the
|
100
|
-
study data.
|
101
|
-
</P>
|
102
|
-
<br><a name="SEC3" href="#TOC1">RE-USING A PRECOMPILED PATTERN</a><br>
|
103
|
-
<P>
|
104
|
-
Re-using a precompiled pattern is straightforward. Having reloaded it into main
|
105
|
-
memory, called <b>pcre[16|32]_pattern_to_host_byte_order()</b> if necessary,
|
106
|
-
you pass its pointer to <b>pcre[16|32]_exec()</b> or <b>pcre[16|32]_dfa_exec()</b> in
|
107
|
-
the usual way.
|
108
|
-
</P>
|
109
|
-
<P>
|
110
|
-
However, if you passed a pointer to custom character tables when the pattern
|
111
|
-
was compiled (the <i>tableptr</i> argument of <b>pcre[16|32]_compile()</b>), you
|
112
|
-
must now pass a similar pointer to <b>pcre[16|32]_exec()</b> or
|
113
|
-
<b>pcre[16|32]_dfa_exec()</b>, because the value saved with the compiled pattern
|
114
|
-
will obviously be nonsense. A field in a <b>pcre[16|32]_extra()</b> block is used
|
115
|
-
to pass this data, as described in the
|
116
|
-
<a href="pcreapi.html#extradata">section on matching a pattern</a>
|
117
|
-
in the
|
118
|
-
<a href="pcreapi.html"><b>pcreapi</b></a>
|
119
|
-
documentation.
|
120
|
-
</P>
|
121
|
-
<P>
|
122
|
-
If you did not provide custom character tables when the pattern was compiled,
|
123
|
-
the pointer in the compiled pattern is NULL, which causes the matching
|
124
|
-
functions to use PCRE's internal tables. Thus, you do not need to take any
|
125
|
-
special action at run time in this case.
|
126
|
-
</P>
|
127
|
-
<P>
|
128
|
-
If you saved study data with the compiled pattern, you need to create your own
|
129
|
-
<b>pcre[16|32]_extra</b> data block and set the <i>study_data</i> field to point to the
|
130
|
-
reloaded study data. You must also set the PCRE_EXTRA_STUDY_DATA bit in the
|
131
|
-
<i>flags</i> field to indicate that study data is present. Then pass the
|
132
|
-
<b>pcre[16|32]_extra</b> block to the matching function in the usual way. If the
|
133
|
-
pattern was studied for just-in-time optimization, that data cannot be saved,
|
134
|
-
and so is lost by a save/restore cycle.
|
135
|
-
</P>
|
136
|
-
<br><a name="SEC4" href="#TOC1">COMPATIBILITY WITH DIFFERENT PCRE RELEASES</a><br>
|
137
|
-
<P>
|
138
|
-
In general, it is safest to recompile all saved patterns when you update to a
|
139
|
-
new PCRE release, though not all updates actually require this.
|
140
|
-
</P>
|
141
|
-
<br><a name="SEC5" href="#TOC1">AUTHOR</a><br>
|
142
|
-
<P>
|
143
|
-
Philip Hazel
|
144
|
-
<br>
|
145
|
-
University Computing Service
|
146
|
-
<br>
|
147
|
-
Cambridge CB2 3QH, England.
|
148
|
-
<br>
|
149
|
-
</P>
|
150
|
-
<br><a name="SEC6" href="#TOC1">REVISION</a><br>
|
151
|
-
<P>
|
152
|
-
Last updated: 24 June 2012
|
153
|
-
<br>
|
154
|
-
Copyright © 1997-2012 University of Cambridge.
|
155
|
-
<br>
|
156
|
-
<p>
|
157
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
158
|
-
</p>
|
@@ -1,110 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>pcresample specification</title>
|
4
|
-
</head>
|
5
|
-
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
-
<h1>pcresample man page</h1>
|
7
|
-
<p>
|
8
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
9
|
-
</p>
|
10
|
-
<p>
|
11
|
-
This page is part of the PCRE HTML documentation. It was generated automatically
|
12
|
-
from the original man page. If there is any nonsense in it, please consult the
|
13
|
-
man page, in case the conversion went wrong.
|
14
|
-
<br>
|
15
|
-
<br><b>
|
16
|
-
PCRE SAMPLE PROGRAM
|
17
|
-
</b><br>
|
18
|
-
<P>
|
19
|
-
A simple, complete demonstration program, to get you started with using PCRE,
|
20
|
-
is supplied in the file <i>pcredemo.c</i> in the PCRE distribution. A listing of
|
21
|
-
this program is given in the
|
22
|
-
<a href="pcredemo.html"><b>pcredemo</b></a>
|
23
|
-
documentation. If you do not have a copy of the PCRE distribution, you can save
|
24
|
-
this listing to re-create <i>pcredemo.c</i>.
|
25
|
-
</P>
|
26
|
-
<P>
|
27
|
-
The demonstration program, which uses the original PCRE 8-bit library, compiles
|
28
|
-
the regular expression that is its first argument, and matches it against the
|
29
|
-
subject string in its second argument. No PCRE options are set, and default
|
30
|
-
character tables are used. If matching succeeds, the program outputs the
|
31
|
-
portion of the subject that matched, together with the contents of any captured
|
32
|
-
substrings.
|
33
|
-
</P>
|
34
|
-
<P>
|
35
|
-
If the -g option is given on the command line, the program then goes on to
|
36
|
-
check for further matches of the same regular expression in the same subject
|
37
|
-
string. The logic is a little bit tricky because of the possibility of matching
|
38
|
-
an empty string. Comments in the code explain what is going on.
|
39
|
-
</P>
|
40
|
-
<P>
|
41
|
-
If PCRE is installed in the standard include and library directories for your
|
42
|
-
operating system, you should be able to compile the demonstration program using
|
43
|
-
this command:
|
44
|
-
<pre>
|
45
|
-
gcc -o pcredemo pcredemo.c -lpcre
|
46
|
-
</pre>
|
47
|
-
If PCRE is installed elsewhere, you may need to add additional options to the
|
48
|
-
command line. For example, on a Unix-like system that has PCRE installed in
|
49
|
-
<i>/usr/local</i>, you can compile the demonstration program using a command
|
50
|
-
like this:
|
51
|
-
<pre>
|
52
|
-
gcc -o pcredemo -I/usr/local/include pcredemo.c -L/usr/local/lib -lpcre
|
53
|
-
</pre>
|
54
|
-
In a Windows environment, if you want to statically link the program against a
|
55
|
-
non-dll <b>pcre.a</b> file, you must uncomment the line that defines PCRE_STATIC
|
56
|
-
before including <b>pcre.h</b>, because otherwise the <b>pcre_malloc()</b> and
|
57
|
-
<b>pcre_free()</b> exported functions will be declared
|
58
|
-
<b>__declspec(dllimport)</b>, with unwanted results.
|
59
|
-
</P>
|
60
|
-
<P>
|
61
|
-
Once you have compiled and linked the demonstration program, you can run simple
|
62
|
-
tests like this:
|
63
|
-
<pre>
|
64
|
-
./pcredemo 'cat|dog' 'the cat sat on the mat'
|
65
|
-
./pcredemo -g 'cat|dog' 'the dog sat on the cat'
|
66
|
-
</pre>
|
67
|
-
Note that there is a much more comprehensive test program, called
|
68
|
-
<a href="pcretest.html"><b>pcretest</b>,</a>
|
69
|
-
which supports many more facilities for testing regular expressions and both
|
70
|
-
PCRE libraries. The
|
71
|
-
<a href="pcredemo.html"><b>pcredemo</b></a>
|
72
|
-
program is provided as a simple coding example.
|
73
|
-
</P>
|
74
|
-
<P>
|
75
|
-
If you try to run
|
76
|
-
<a href="pcredemo.html"><b>pcredemo</b></a>
|
77
|
-
when PCRE is not installed in the standard library directory, you may get an
|
78
|
-
error like this on some operating systems (e.g. Solaris):
|
79
|
-
<pre>
|
80
|
-
ld.so.1: a.out: fatal: libpcre.so.0: open failed: No such file or directory
|
81
|
-
</pre>
|
82
|
-
This is caused by the way shared library support works on those systems. You
|
83
|
-
need to add
|
84
|
-
<pre>
|
85
|
-
-R/usr/local/lib
|
86
|
-
</pre>
|
87
|
-
(for example) to the compile command to get round this problem.
|
88
|
-
</P>
|
89
|
-
<br><b>
|
90
|
-
AUTHOR
|
91
|
-
</b><br>
|
92
|
-
<P>
|
93
|
-
Philip Hazel
|
94
|
-
<br>
|
95
|
-
University Computing Service
|
96
|
-
<br>
|
97
|
-
Cambridge CB2 3QH, England.
|
98
|
-
<br>
|
99
|
-
</P>
|
100
|
-
<br><b>
|
101
|
-
REVISION
|
102
|
-
</b><br>
|
103
|
-
<P>
|
104
|
-
Last updated: 10 January 2012
|
105
|
-
<br>
|
106
|
-
Copyright © 1997-2012 University of Cambridge.
|
107
|
-
<br>
|
108
|
-
<p>
|
109
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
110
|
-
</p>
|
@@ -1,225 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>pcrestack specification</title>
|
4
|
-
</head>
|
5
|
-
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
6
|
-
<h1>pcrestack man page</h1>
|
7
|
-
<p>
|
8
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
9
|
-
</p>
|
10
|
-
<p>
|
11
|
-
This page is part of the PCRE HTML documentation. It was generated automatically
|
12
|
-
from the original man page. If there is any nonsense in it, please consult the
|
13
|
-
man page, in case the conversion went wrong.
|
14
|
-
<br>
|
15
|
-
<br><b>
|
16
|
-
PCRE DISCUSSION OF STACK USAGE
|
17
|
-
</b><br>
|
18
|
-
<P>
|
19
|
-
When you call <b>pcre[16|32]_exec()</b>, it makes use of an internal function
|
20
|
-
called <b>match()</b>. This calls itself recursively at branch points in the
|
21
|
-
pattern, in order to remember the state of the match so that it can back up and
|
22
|
-
try a different alternative if the first one fails. As matching proceeds deeper
|
23
|
-
and deeper into the tree of possibilities, the recursion depth increases. The
|
24
|
-
<b>match()</b> function is also called in other circumstances, for example,
|
25
|
-
whenever a parenthesized sub-pattern is entered, and in certain cases of
|
26
|
-
repetition.
|
27
|
-
</P>
|
28
|
-
<P>
|
29
|
-
Not all calls of <b>match()</b> increase the recursion depth; for an item such
|
30
|
-
as a* it may be called several times at the same level, after matching
|
31
|
-
different numbers of a's. Furthermore, in a number of cases where the result of
|
32
|
-
the recursive call would immediately be passed back as the result of the
|
33
|
-
current call (a "tail recursion"), the function is just restarted instead.
|
34
|
-
</P>
|
35
|
-
<P>
|
36
|
-
The above comments apply when <b>pcre[16|32]_exec()</b> is run in its normal
|
37
|
-
interpretive manner. If the pattern was studied with the
|
38
|
-
PCRE_STUDY_JIT_COMPILE option, and just-in-time compiling was successful, and
|
39
|
-
the options passed to <b>pcre[16|32]_exec()</b> were not incompatible, the matching
|
40
|
-
process uses the JIT-compiled code instead of the <b>match()</b> function. In
|
41
|
-
this case, the memory requirements are handled entirely differently. See the
|
42
|
-
<a href="pcrejit.html"><b>pcrejit</b></a>
|
43
|
-
documentation for details.
|
44
|
-
</P>
|
45
|
-
<P>
|
46
|
-
The <b>pcre[16|32]_dfa_exec()</b> function operates in an entirely different way,
|
47
|
-
and uses recursion only when there is a regular expression recursion or
|
48
|
-
subroutine call in the pattern. This includes the processing of assertion and
|
49
|
-
"once-only" subpatterns, which are handled like subroutine calls. Normally,
|
50
|
-
these are never very deep, and the limit on the complexity of
|
51
|
-
<b>pcre[16|32]_dfa_exec()</b> is controlled by the amount of workspace it is given.
|
52
|
-
However, it is possible to write patterns with runaway infinite recursions;
|
53
|
-
such patterns will cause <b>pcre[16|32]_dfa_exec()</b> to run out of stack. At
|
54
|
-
present, there is no protection against this.
|
55
|
-
</P>
|
56
|
-
<P>
|
57
|
-
The comments that follow do NOT apply to <b>pcre[16|32]_dfa_exec()</b>; they are
|
58
|
-
relevant only for <b>pcre[16|32]_exec()</b> without the JIT optimization.
|
59
|
-
</P>
|
60
|
-
<br><b>
|
61
|
-
Reducing <b>pcre[16|32]_exec()</b>'s stack usage
|
62
|
-
</b><br>
|
63
|
-
<P>
|
64
|
-
Each time that <b>match()</b> is actually called recursively, it uses memory
|
65
|
-
from the process stack. For certain kinds of pattern and data, very large
|
66
|
-
amounts of stack may be needed, despite the recognition of "tail recursion".
|
67
|
-
You can often reduce the amount of recursion, and therefore the amount of stack
|
68
|
-
used, by modifying the pattern that is being matched. Consider, for example,
|
69
|
-
this pattern:
|
70
|
-
<pre>
|
71
|
-
([^<]|<(?!inet))+
|
72
|
-
</pre>
|
73
|
-
It matches from wherever it starts until it encounters "<inet" or the end of
|
74
|
-
the data, and is the kind of pattern that might be used when processing an XML
|
75
|
-
file. Each iteration of the outer parentheses matches either one character that
|
76
|
-
is not "<" or a "<" that is not followed by "inet". However, each time a
|
77
|
-
parenthesis is processed, a recursion occurs, so this formulation uses a stack
|
78
|
-
frame for each matched character. For a long string, a lot of stack is
|
79
|
-
required. Consider now this rewritten pattern, which matches exactly the same
|
80
|
-
strings:
|
81
|
-
<pre>
|
82
|
-
([^<]++|<(?!inet))+
|
83
|
-
</pre>
|
84
|
-
This uses very much less stack, because runs of characters that do not contain
|
85
|
-
"<" are "swallowed" in one item inside the parentheses. Recursion happens only
|
86
|
-
when a "<" character that is not followed by "inet" is encountered (and we
|
87
|
-
assume this is relatively rare). A possessive quantifier is used to stop any
|
88
|
-
backtracking into the runs of non-"<" characters, but that is not related to
|
89
|
-
stack usage.
|
90
|
-
</P>
|
91
|
-
<P>
|
92
|
-
This example shows that one way of avoiding stack problems when matching long
|
93
|
-
subject strings is to write repeated parenthesized subpatterns to match more
|
94
|
-
than one character whenever possible.
|
95
|
-
</P>
|
96
|
-
<br><b>
|
97
|
-
Compiling PCRE to use heap instead of stack for <b>pcre[16|32]_exec()</b>
|
98
|
-
</b><br>
|
99
|
-
<P>
|
100
|
-
In environments where stack memory is constrained, you might want to compile
|
101
|
-
PCRE to use heap memory instead of stack for remembering back-up points when
|
102
|
-
<b>pcre[16|32]_exec()</b> is running. This makes it run a lot more slowly, however.
|
103
|
-
Details of how to do this are given in the
|
104
|
-
<a href="pcrebuild.html"><b>pcrebuild</b></a>
|
105
|
-
documentation. When built in this way, instead of using the stack, PCRE obtains
|
106
|
-
and frees memory by calling the functions that are pointed to by the
|
107
|
-
<b>pcre[16|32]_stack_malloc</b> and <b>pcre[16|32]_stack_free</b> variables. By
|
108
|
-
default, these point to <b>malloc()</b> and <b>free()</b>, but you can replace
|
109
|
-
the pointers to cause PCRE to use your own functions. Since the block sizes are
|
110
|
-
always the same, and are always freed in reverse order, it may be possible to
|
111
|
-
implement customized memory handlers that are more efficient than the standard
|
112
|
-
functions.
|
113
|
-
</P>
|
114
|
-
<br><b>
|
115
|
-
Limiting <b>pcre[16|32]_exec()</b>'s stack usage
|
116
|
-
</b><br>
|
117
|
-
<P>
|
118
|
-
You can set limits on the number of times that <b>match()</b> is called, both in
|
119
|
-
total and recursively. If a limit is exceeded, <b>pcre[16|32]_exec()</b> returns an
|
120
|
-
error code. Setting suitable limits should prevent it from running out of
|
121
|
-
stack. The default values of the limits are very large, and unlikely ever to
|
122
|
-
operate. They can be changed when PCRE is built, and they can also be set when
|
123
|
-
<b>pcre[16|32]_exec()</b> is called. For details of these interfaces, see the
|
124
|
-
<a href="pcrebuild.html"><b>pcrebuild</b></a>
|
125
|
-
documentation and the
|
126
|
-
<a href="pcreapi.html#extradata">section on extra data for <b>pcre[16|32]_exec()</b></a>
|
127
|
-
in the
|
128
|
-
<a href="pcreapi.html"><b>pcreapi</b></a>
|
129
|
-
documentation.
|
130
|
-
</P>
|
131
|
-
<P>
|
132
|
-
As a very rough rule of thumb, you should reckon on about 500 bytes per
|
133
|
-
recursion. Thus, if you want to limit your stack usage to 8Mb, you should set
|
134
|
-
the limit at 16000 recursions. A 64Mb stack, on the other hand, can support
|
135
|
-
around 128000 recursions.
|
136
|
-
</P>
|
137
|
-
<P>
|
138
|
-
In Unix-like environments, the <b>pcretest</b> test program has a command line
|
139
|
-
option (<b>-S</b>) that can be used to increase the size of its stack. As long
|
140
|
-
as the stack is large enough, another option (<b>-M</b>) can be used to find the
|
141
|
-
smallest limits that allow a particular pattern to match a given subject
|
142
|
-
string. This is done by calling <b>pcre[16|32]_exec()</b> repeatedly with different
|
143
|
-
limits.
|
144
|
-
</P>
|
145
|
-
<br><b>
|
146
|
-
Obtaining an estimate of stack usage
|
147
|
-
</b><br>
|
148
|
-
<P>
|
149
|
-
The actual amount of stack used per recursion can vary quite a lot, depending
|
150
|
-
on the compiler that was used to build PCRE and the optimization or debugging
|
151
|
-
options that were set for it. The rule of thumb value of 500 bytes mentioned
|
152
|
-
above may be larger or smaller than what is actually needed. A better
|
153
|
-
approximation can be obtained by running this command:
|
154
|
-
<pre>
|
155
|
-
pcretest -m -C
|
156
|
-
</pre>
|
157
|
-
The <b>-C</b> option causes <b>pcretest</b> to output information about the
|
158
|
-
options with which PCRE was compiled. When <b>-m</b> is also given (before
|
159
|
-
<b>-C</b>), information about stack use is given in a line like this:
|
160
|
-
<pre>
|
161
|
-
Match recursion uses stack: approximate frame size = 640 bytes
|
162
|
-
</pre>
|
163
|
-
The value is approximate because some recursions need a bit more (up to perhaps
|
164
|
-
16 more bytes).
|
165
|
-
</P>
|
166
|
-
<P>
|
167
|
-
If the above command is given when PCRE is compiled to use the heap instead of
|
168
|
-
the stack for recursion, the value that is output is the size of each block
|
169
|
-
that is obtained from the heap.
|
170
|
-
</P>
|
171
|
-
<br><b>
|
172
|
-
Changing stack size in Unix-like systems
|
173
|
-
</b><br>
|
174
|
-
<P>
|
175
|
-
In Unix-like environments, there is not often a problem with the stack unless
|
176
|
-
very long strings are involved, though the default limit on stack size varies
|
177
|
-
from system to system. Values from 8Mb to 64Mb are common. You can find your
|
178
|
-
default limit by running the command:
|
179
|
-
<pre>
|
180
|
-
ulimit -s
|
181
|
-
</pre>
|
182
|
-
Unfortunately, the effect of running out of stack is often SIGSEGV, though
|
183
|
-
sometimes a more explicit error message is given. You can normally increase the
|
184
|
-
limit on stack size by code such as this:
|
185
|
-
<pre>
|
186
|
-
struct rlimit rlim;
|
187
|
-
getrlimit(RLIMIT_STACK, &rlim);
|
188
|
-
rlim.rlim_cur = 100*1024*1024;
|
189
|
-
setrlimit(RLIMIT_STACK, &rlim);
|
190
|
-
</pre>
|
191
|
-
This reads the current limits (soft and hard) using <b>getrlimit()</b>, then
|
192
|
-
attempts to increase the soft limit to 100Mb using <b>setrlimit()</b>. You must
|
193
|
-
do this before calling <b>pcre[16|32]_exec()</b>.
|
194
|
-
</P>
|
195
|
-
<br><b>
|
196
|
-
Changing stack size in Mac OS X
|
197
|
-
</b><br>
|
198
|
-
<P>
|
199
|
-
Using <b>setrlimit()</b>, as described above, should also work on Mac OS X. It
|
200
|
-
is also possible to set a stack size when linking a program. There is a
|
201
|
-
discussion about stack sizes in Mac OS X at this web site:
|
202
|
-
<a href="http://developer.apple.com/qa/qa2005/qa1419.html">http://developer.apple.com/qa/qa2005/qa1419.html.</a>
|
203
|
-
</P>
|
204
|
-
<br><b>
|
205
|
-
AUTHOR
|
206
|
-
</b><br>
|
207
|
-
<P>
|
208
|
-
Philip Hazel
|
209
|
-
<br>
|
210
|
-
University Computing Service
|
211
|
-
<br>
|
212
|
-
Cambridge CB2 3QH, England.
|
213
|
-
<br>
|
214
|
-
</P>
|
215
|
-
<br><b>
|
216
|
-
REVISION
|
217
|
-
</b><br>
|
218
|
-
<P>
|
219
|
-
Last updated: 24 June 2012
|
220
|
-
<br>
|
221
|
-
Copyright © 1997-2012 University of Cambridge.
|
222
|
-
<br>
|
223
|
-
<p>
|
224
|
-
Return to the <a href="index.html">PCRE index page</a>.
|
225
|
-
</p>
|