@port-labs/jq-node-bindings 1.0.5 → 1.1.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +12 -0
- package/configure +6 -5
- package/deps/jq/.claude/settings.local.json +7 -0
- package/deps/jq/.gitattributes +1 -3
- package/deps/jq/AUTHORS +55 -1
- package/deps/jq/COPYING +40 -0
- package/deps/jq/Makefile.am +40 -36
- package/deps/jq/NEWS.md +277 -2
- package/deps/jq/README.md +23 -5
- package/deps/jq/compile-ios.sh +1 -1
- package/deps/jq/config/m4/check-math-func.m4 +2 -2
- package/deps/jq/config/m4/find-func-no-libs2.m4 +3 -3
- package/deps/jq/configure.ac +10 -18
- package/deps/jq/docs/Pipfile.lock +368 -313
- package/deps/jq/docs/README.md +3 -4
- package/deps/jq/docs/build_manpage.py +1 -1
- package/deps/jq/docs/build_mantests.py +1 -1
- package/deps/jq/docs/build_website.py +1 -8
- package/deps/jq/docs/content/download/default.yml +49 -9
- package/deps/jq/docs/content/index.yml +9 -0
- package/deps/jq/docs/content/manual/{manual.yml → dev/manual.yml} +218 -61
- package/deps/jq/docs/content/manual/v1.3/manual.yml +0 -5
- package/deps/jq/docs/content/manual/v1.4/manual.yml +0 -5
- package/deps/jq/docs/content/manual/v1.5/manual.yml +3 -8
- package/deps/jq/docs/content/manual/v1.6/manual.yml +3 -8
- package/deps/jq/docs/content/manual/v1.7/manual.yml +499 -500
- package/deps/jq/docs/content/manual/v1.8/manual.yml +3858 -0
- package/deps/jq/docs/content/tutorial/default.yml +3 -3
- package/deps/jq/docs/manual_schema.yml +0 -3
- package/deps/jq/docs/public/CNAME +1 -0
- package/deps/jq/docs/templates/index.html.j2 +10 -10
- package/deps/jq/docs/templates/manual.html.j2 +14 -3
- package/deps/jq/docs/templates/shared/_head.html.j2 +8 -3
- package/deps/jq/docs/templates/shared/_navbar.html.j2 +4 -4
- package/deps/jq/jq.1.prebuilt +219 -44
- package/deps/jq/jq.spec +2 -2
- package/deps/jq/libjq.pc.in +1 -1
- package/deps/jq/scripts/version +1 -1
- package/deps/jq/sig/v1.7.1/jq-1.7.1.tar.gz.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-1.7.1.zip.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-arm64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-armel.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-armhf.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-i386.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsel.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-powerpc.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-ppc64el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-riscv64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-s390x.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-macos-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-macos-arm64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-osx-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-win64.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-windows-amd64.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-windows-i386.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/sha256sum.txt +26 -0
- package/deps/jq/sig/v1.8.0/jq-1.8.0.tar.gz.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-1.8.0.zip.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-arm64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-armel.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-armhf.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-i386.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64r6.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64r6el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsel.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsr6.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsr6el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-powerpc.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-ppc64el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-riscv64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-s390x.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-macos-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-macos-arm64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-osx-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-win64.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-windows-amd64.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-windows-i386.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/sha256sum.txt +26 -0
- package/deps/jq/src/builtin.c +446 -271
- package/deps/jq/src/builtin.jq +25 -60
- package/deps/jq/src/bytecode.h +8 -3
- package/deps/jq/src/compile.c +22 -43
- package/deps/jq/src/compile.h +1 -1
- package/deps/jq/src/execute.c +20 -25
- package/deps/jq/src/jq_test.c +113 -44
- package/deps/jq/src/jv.c +134 -42
- package/deps/jq/src/jv.h +10 -3
- package/deps/jq/src/jv_alloc.c +8 -5
- package/deps/jq/src/jv_alloc.h +0 -1
- package/deps/jq/src/jv_aux.c +41 -8
- package/deps/jq/src/jv_dtoa.c +4 -12
- package/deps/jq/src/jv_dtoa_tsd.c +5 -4
- package/deps/jq/src/jv_dtoa_tsd.h +1 -1
- package/deps/jq/src/jv_parse.c +5 -3
- package/deps/jq/src/jv_print.c +87 -65
- package/deps/jq/src/jv_unicode.c +18 -0
- package/deps/jq/src/jv_unicode.h +2 -0
- package/deps/jq/src/lexer.c +303 -278
- package/deps/jq/src/lexer.h +5 -4
- package/deps/jq/src/lexer.l +8 -2
- package/deps/jq/src/libm.h +15 -5
- package/deps/jq/src/linker.c +6 -4
- package/deps/jq/src/locfile.c +12 -12
- package/deps/jq/src/main.c +204 -270
- package/deps/jq/src/parser.c +1105 -1273
- package/deps/jq/src/parser.y +149 -181
- package/deps/jq/src/util.c +46 -48
- package/deps/jq/src/util.h +1 -1
- package/deps/jq/tests/base64.test +12 -0
- package/deps/jq/tests/jq.test +429 -37
- package/deps/jq/tests/jq_fuzz_load_file.c +1 -0
- package/deps/jq/tests/man.test +46 -13
- package/deps/jq/tests/manonig.test +13 -0
- package/deps/jq/tests/onig.test +40 -2
- package/deps/jq/tests/optional.test +4 -12
- package/deps/jq/tests/setup +5 -1
- package/deps/jq/tests/shtest +358 -130
- package/deps/jq/tests/uri.test +38 -0
- package/deps/jq/tests/uritest +5 -0
- package/deps/jq/{src → vendor}/decNumber/decBasic.c +1 -1
- package/deps/jq/{src → vendor}/decNumber/decCommon.c +1 -1
- package/deps/jq/{src → vendor}/decNumber/decNumber.c +4 -4
- package/deps/jq/{modules → vendor}/oniguruma/CMakeLists.txt +5 -3
- package/deps/jq/{modules → vendor}/oniguruma/HISTORY +45 -7
- package/deps/jq/{modules → vendor}/oniguruma/Makefile.am +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/README.md +10 -23
- package/deps/jq/{modules → vendor}/oniguruma/compile +29 -13
- package/deps/jq/{modules → vendor}/oniguruma/config.guess +91 -27
- package/deps/jq/{modules → vendor}/oniguruma/config.sub +716 -242
- package/deps/jq/{modules → vendor}/oniguruma/configure.ac +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/depcomp +10 -9
- package/deps/jq/{modules → vendor}/oniguruma/doc/API +3 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/API.ja +3 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN +10 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN.ja +9 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/RE +12 -13
- package/deps/jq/{modules → vendor}/oniguruma/doc/RE.ja +12 -13
- package/deps/jq/{modules → vendor}/oniguruma/doc/SYNTAX.md +202 -167
- package/deps/jq/{modules → vendor}/oniguruma/doc/UNICODE_PROPERTIES +33 -1
- package/deps/jq/vendor/oniguruma/doc/onig_syn_md.c +667 -0
- package/deps/jq/{modules → vendor}/oniguruma/harnesses/base.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/install-sh +9 -9
- package/deps/jq/{modules → vendor}/oniguruma/missing +50 -29
- package/deps/jq/{modules → vendor}/oniguruma/sample/callback_each_match.c +1 -3
- package/deps/jq/vendor/oniguruma/sbom.cdx.json +44 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/ascii.c +4 -1
- package/deps/jq/{modules → vendor}/oniguruma/src/gperf_fold_key_conv.py +4 -4
- package/deps/jq/{modules → vendor}/oniguruma/src/gperf_unfold_key_conv.py +4 -4
- package/deps/jq/vendor/oniguruma/src/make_unicode_egcb.sh +7 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_egcb_data.py +20 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold.sh +5 -5
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold_data.py +37 -37
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property.sh +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property_data.py +66 -65
- package/deps/jq/vendor/oniguruma/src/make_unicode_wb.sh +7 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_wb_data.py +20 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/oniguruma.h +6 -3
- package/deps/jq/{modules → vendor}/oniguruma/src/regcomp.c +14 -6
- package/deps/jq/{modules → vendor}/oniguruma/src/regerror.c +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/regexec.c +85 -14
- package/deps/jq/{modules → vendor}/oniguruma/src/regint.h +17 -4
- package/deps/jq/{modules → vendor}/oniguruma/src/regparse.c +115 -27
- package/deps/jq/{modules → vendor}/oniguruma/src/regsyntax.c +10 -7
- package/deps/jq/{modules → vendor}/oniguruma/src/st.c +49 -75
- package/deps/jq/{modules → vendor}/oniguruma/src/st.h +3 -10
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_egcb_data.c +54 -49
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold1_key.c +1567 -1507
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold2_key.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold3_key.c +1 -1
- package/deps/jq/vendor/oniguruma/src/unicode_fold_data.c +1619 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data.c +5520 -4178
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data_posix.c +239 -83
- package/deps/jq/vendor/oniguruma/src/unicode_unfold_key.c +3497 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_wb_data.c +51 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/utf16_be.c +3 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/utf16_le.c +3 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_back.c +3 -3
- package/deps/jq/{modules → vendor}/oniguruma/test/test_options.c +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_syntax.c +54 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_utf8.c +19 -5
- package/deps/jq/{modules → vendor}/oniguruma/test/testc.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/test/testp.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/test-driver +13 -6
- package/deps/jq/{modules → vendor}/oniguruma/windows/CMakeLists.txt +1 -1
- package/package.json +4 -3
- package/test/santiy-async.test.js +4 -4
- package/test/santiy.test.js +4 -4
- package/test/template.test.js +6 -6
- package/deps/jq/modules/oniguruma/src/make_unicode_egcb.sh +0 -7
- package/deps/jq/modules/oniguruma/src/make_unicode_wb.sh +0 -7
- package/deps/jq/modules/oniguruma/src/unicode_fold_data.c +0 -1592
- package/deps/jq/modules/oniguruma/src/unicode_unfold_key.c +0 -3394
- package/deps/jq/scripts/update-website +0 -30
- /package/deps/jq/{src → vendor}/decNumber/ICU-license.html +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decContext.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decContext.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDPD.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDouble.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDouble.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decNumber.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decNumberLocal.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decPacked.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decPacked.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decQuad.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decQuad.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decSingle.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decSingle.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal128.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal128.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal32.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal32.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal64.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal64.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decnumber.pdf +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example1.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example2.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example3.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example4.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example5.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example6.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example7.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example8.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/readme.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/.travis.yml +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/AUTHORS +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/COPYING +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/ChangeLog +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/NEWS +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/README +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/README_japanese +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/autogen.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/cmake/Config.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API.ja +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ.ja +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/ascii_compatible.dict +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/deluxe.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/dict_conv.py +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/fuzzer.options +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/libfuzzer-onig.cpp +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/index.html +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/index_ja.html +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/m4/.whatever +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win32.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win64.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/onig-config.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/onig-config.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/CMakeLists.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/bug_fix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/callout.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/count.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/crnl.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/echo.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/encode.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/listcap.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/names.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/posix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/scan.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/simple.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/sql.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/syntax.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/user_property.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.windows +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/big5.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win32 +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win64 +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.windows.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/cp1251.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.gperf +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_kr.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_tw.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/gb18030.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_1.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_10.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_11.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_13.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_14.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_15.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_16.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_2.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_3.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_4.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_5.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_6.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_7.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_9.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/koi8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/koi8_r.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/make_property.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/mktable.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/onig_init.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/oniggnu.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/onigposix.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regext.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/reggnu.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regparse.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regposerr.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regposix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regtrav.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regversion.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.gperf +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/unicode.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_be.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_le.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/CMakeLists.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/test.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/test_regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/testu.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/stub.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_back.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_regset.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_syntax.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_utf8.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testc.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testu.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/windows/testc.c +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# Oniguruma syntax (operator) configuration
|
|
3
3
|
|
|
4
|
-
_Documented for Oniguruma 6.9.
|
|
4
|
+
_Documented for Oniguruma 6.9.10 (2024/12/21)_
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
----------
|
|
@@ -38,7 +38,7 @@ follow.
|
|
|
38
38
|
The `options` field describes the default compile options to use if the caller does
|
|
39
39
|
not specify any options when invoking `onig_new()`.
|
|
40
40
|
|
|
41
|
-
The `meta_char_table` field is used exclusively by the ONIG_SYN_OP_VARIABLE_META_CHARACTERS
|
|
41
|
+
The `meta_char_table` field is used exclusively by the `ONIG_SYN_OP_VARIABLE_META_CHARACTERS`
|
|
42
42
|
option, which allows the various regex metacharacters, like `*` and `?`, to be replaced
|
|
43
43
|
with alternates (for example, SQL typically uses `%` instead of `.*` and `_` instead of `?`).
|
|
44
44
|
|
|
@@ -75,7 +75,7 @@ data set by `onig_set_meta_char()` will be ignored.
|
|
|
75
75
|
|
|
76
76
|
### 1. ONIG_SYN_OP_DOT_ANYCHAR (enable `.`)
|
|
77
77
|
|
|
78
|
-
_Set in: Oniguruma,
|
|
78
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Grep, Emacs, PosixExtended, PosixBasic_
|
|
79
79
|
|
|
80
80
|
Enables support for the standard `.` metacharacter, meaning "any one character." You
|
|
81
81
|
usually want this flag on unless you have turned on `ONIG_SYN_OP_VARIABLE_META_CHARACTERS`
|
|
@@ -84,7 +84,7 @@ so that you can use a metacharacter other than `.` instead.
|
|
|
84
84
|
|
|
85
85
|
### 2. ONIG_SYN_OP_ASTERISK_ZERO_INF (enable `r*`)
|
|
86
86
|
|
|
87
|
-
_Set in: Oniguruma,
|
|
87
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Grep, Emacs, PosixExtended, PosixBasic_
|
|
88
88
|
|
|
89
89
|
Enables support for the standard `r*` metacharacter, meaning "zero or more r's."
|
|
90
90
|
You usually want this flag set unless you have turned on `ONIG_SYN_OP_VARIABLE_META_CHARACTERS`
|
|
@@ -103,7 +103,7 @@ behavior.
|
|
|
103
103
|
|
|
104
104
|
### 4. ONIG_SYN_OP_PLUS_ONE_INF (enable `r+`)
|
|
105
105
|
|
|
106
|
-
_Set in: Oniguruma,
|
|
106
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Emacs, PosixExtended_
|
|
107
107
|
|
|
108
108
|
Enables support for the standard `r+` metacharacter, meaning "one or more r's."
|
|
109
109
|
You usually want this flag set unless you have turned on `ONIG_SYN_OP_VARIABLE_META_CHARACTERS`
|
|
@@ -122,7 +122,7 @@ behavior.
|
|
|
122
122
|
|
|
123
123
|
### 6. ONIG_SYN_OP_QMARK_ZERO_ONE (enable `r?`)
|
|
124
124
|
|
|
125
|
-
_Set in: Oniguruma,
|
|
125
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Emacs, PosixExtended_
|
|
126
126
|
|
|
127
127
|
Enables support for the standard `r?` metacharacter, meaning "zero or one r" or "an optional r."
|
|
128
128
|
You usually want this flag set unless you have turned on `ONIG_SYN_OP_VARIABLE_META_CHARACTERS`
|
|
@@ -141,7 +141,7 @@ you want `?` to simply match a literal `?` character, but you still want some wa
|
|
|
141
141
|
|
|
142
142
|
### 8. ONIG_SYN_OP_BRACE_INTERVAL (enable `r{l,u}`)
|
|
143
143
|
|
|
144
|
-
_Set in: Oniguruma,
|
|
144
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, PosixExtended_
|
|
145
145
|
|
|
146
146
|
Enables support for the `r{lower,upper}` range form, common to more advanced
|
|
147
147
|
regex engines, which lets you specify precisely a minimum and maximum range on how many r's
|
|
@@ -158,7 +158,7 @@ this form also allows `r{,upper}` to be equivalent to `r{0,upper}`; otherwise,
|
|
|
158
158
|
|
|
159
159
|
### 9. ONIG_SYN_OP_ESC_BRACE_INTERVAL (enable `\{` and `\}`)
|
|
160
160
|
|
|
161
|
-
_Set in:
|
|
161
|
+
_Set in: Grep, Emacs, PosixBasic_
|
|
162
162
|
|
|
163
163
|
Enables support for an escaped `r\{lower,upper\}` range form. This is useful if you
|
|
164
164
|
have disabled support for the normal `r{...}` range form and want curly braces to simply
|
|
@@ -168,7 +168,7 @@ match literal curly brace characters, but you still want some way of activating
|
|
|
168
168
|
|
|
169
169
|
### 10. ONIG_SYN_OP_VBAR_ALT (enable `r|s`)
|
|
170
170
|
|
|
171
|
-
_Set in: Oniguruma,
|
|
171
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, PosixExtended_
|
|
172
172
|
|
|
173
173
|
Enables support for the common `r|s` alternation operator. You usually want this
|
|
174
174
|
flag set.
|
|
@@ -176,7 +176,7 @@ flag set.
|
|
|
176
176
|
|
|
177
177
|
### 11. ONIG_SYN_OP_ESC_VBAR_ALT (enable `\|`)
|
|
178
178
|
|
|
179
|
-
_Set in:
|
|
179
|
+
_Set in: Grep, Emacs_
|
|
180
180
|
|
|
181
181
|
Enables support for an escaped `r\|s` alternation form. This is useful if you
|
|
182
182
|
have disabled support for the normal `r|s` alternation form and want `|` to simply
|
|
@@ -185,7 +185,7 @@ match a literal `|` character, but you still want some way of activating "altern
|
|
|
185
185
|
|
|
186
186
|
### 12. ONIG_SYN_OP_LPAREN_SUBEXP (enable `(r)`)
|
|
187
187
|
|
|
188
|
-
_Set in: Oniguruma,
|
|
188
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, PosixExtended_
|
|
189
189
|
|
|
190
190
|
Enables support for the common `(...)` grouping-and-capturing operators. You usually
|
|
191
191
|
want this flag set.
|
|
@@ -193,7 +193,7 @@ want this flag set.
|
|
|
193
193
|
|
|
194
194
|
### 13. ONIG_SYN_OP_ESC_LPAREN_SUBEXP (enable `\(` and `\)`)
|
|
195
195
|
|
|
196
|
-
_Set in:
|
|
196
|
+
_Set in: Grep, Emacs, PosixBasic_
|
|
197
197
|
|
|
198
198
|
Enables support for escaped `\(...\)` grouping-and-capturing operators. This is useful if you
|
|
199
199
|
have disabled support for the normal `(...)` grouping-and-capturing operators and want
|
|
@@ -203,7 +203,7 @@ activating "grouping" or "capturing" behavior.
|
|
|
203
203
|
|
|
204
204
|
### 14. ONIG_SYN_OP_ESC_AZ_BUF_ANCHOR (enable `\A` and `\Z` and `\z`)
|
|
205
205
|
|
|
206
|
-
_Set in: Oniguruma,
|
|
206
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex_
|
|
207
207
|
|
|
208
208
|
Enables support for the anchors `\A` (start-of-string), `\Z` (end-of-string or
|
|
209
209
|
newline-at-end-of-string), and `\z` (end-of-string) escapes.
|
|
@@ -214,7 +214,7 @@ option will recognize that metacharacter instead.)
|
|
|
214
214
|
|
|
215
215
|
### 15. ONIG_SYN_OP_ESC_CAPITAL_G_BEGIN_ANCHOR (enable `\G`)
|
|
216
216
|
|
|
217
|
-
_Set in: Oniguruma,
|
|
217
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex_
|
|
218
218
|
|
|
219
219
|
Enables support for the special anchor `\G` (start-of-previous-match).
|
|
220
220
|
|
|
@@ -231,7 +231,7 @@ exactly the same as `\A`.
|
|
|
231
231
|
|
|
232
232
|
### 16. ONIG_SYN_OP_DECIMAL_BACKREF (enable `\num`)
|
|
233
233
|
|
|
234
|
-
_Set in: Oniguruma,
|
|
234
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Grep, Emacs, PosixExtended, PosixBasic_
|
|
235
235
|
|
|
236
236
|
Enables support for subsequent matches to back references to prior capture groups `(...)` using
|
|
237
237
|
the common `\num` syntax (like `\3`).
|
|
@@ -244,7 +244,7 @@ You usually want this enabled, and it is enabled by default in every built-in sy
|
|
|
244
244
|
|
|
245
245
|
### 17. ONIG_SYN_OP_BRACKET_CC (enable `[...]`)
|
|
246
246
|
|
|
247
|
-
_Set in: Oniguruma,
|
|
247
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Grep, Emacs, PosixExtended, PosixBasic_
|
|
248
248
|
|
|
249
249
|
Enables support for recognizing character classes, like `[a-z]`. If this flag is not set, `[`
|
|
250
250
|
and `]` will be treated as ordinary literal characters instead of as metacharacters.
|
|
@@ -254,7 +254,7 @@ You usually want this enabled, and it is enabled by default in every built-in sy
|
|
|
254
254
|
|
|
255
255
|
### 18. ONIG_SYN_OP_ESC_W_WORD (enable `\w` and `\W`)
|
|
256
256
|
|
|
257
|
-
_Set in: Oniguruma,
|
|
257
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Grep_
|
|
258
258
|
|
|
259
259
|
Enables support for the common `\w` and `\W` shorthand forms. These match "word characters,"
|
|
260
260
|
whose meaning varies depending on the encoding being used.
|
|
@@ -272,7 +272,7 @@ considered "word characters.")
|
|
|
272
272
|
|
|
273
273
|
### 19. ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END (enable `\<` and `\>`)
|
|
274
274
|
|
|
275
|
-
_Set in:
|
|
275
|
+
_Set in: GnuRegex, Grep_
|
|
276
276
|
|
|
277
277
|
Enables support for the GNU-specific `\<` and `\>` word-boundary metacharacters. These work like
|
|
278
278
|
the `\b` word-boundary metacharacter, but only match at one end of the word or the other: `\<`
|
|
@@ -285,7 +285,7 @@ Most regex syntaxes do _not_ support these metacharacters.
|
|
|
285
285
|
|
|
286
286
|
### 20. ONIG_SYN_OP_ESC_B_WORD_BOUND (enable `\b` and `\B`)
|
|
287
287
|
|
|
288
|
-
_Set in: Oniguruma,
|
|
288
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Grep_
|
|
289
289
|
|
|
290
290
|
Enables support for the common `\b` and `\B` word-boundary metacharacters. The `\b` metacharacter
|
|
291
291
|
matches a zero-width position at a transition from word-characters to non-word-characters, or vice
|
|
@@ -297,7 +297,7 @@ are considered "word characters."
|
|
|
297
297
|
|
|
298
298
|
### 21. ONIG_SYN_OP_ESC_S_WHITE_SPACE (enable `\s` and `\S`)
|
|
299
299
|
|
|
300
|
-
_Set in: Oniguruma,
|
|
300
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex_
|
|
301
301
|
|
|
302
302
|
Enables support for the common `\s` and `\S` whitespace-matching metacharacters.
|
|
303
303
|
|
|
@@ -319,7 +319,7 @@ Unicode-equivalent code points, and then matching according to Unicode rules.
|
|
|
319
319
|
|
|
320
320
|
### 22. ONIG_SYN_OP_ESC_D_DIGIT (enable `\d` and `\D`)
|
|
321
321
|
|
|
322
|
-
_Set in: Oniguruma,
|
|
322
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex_
|
|
323
323
|
|
|
324
324
|
Enables support for the common `\d` and `\D` digit-matching metacharacters.
|
|
325
325
|
|
|
@@ -337,7 +337,7 @@ Unicode-equivalent code points, and then matching according to Unicode rules.
|
|
|
337
337
|
|
|
338
338
|
### 23. ONIG_SYN_OP_LINE_ANCHOR (enable `^r` and `r$`)
|
|
339
339
|
|
|
340
|
-
_Set in: Oniguruma,
|
|
340
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, Grep, Emacs, PosixExtended, PosixBasic_
|
|
341
341
|
|
|
342
342
|
Enables support for the common `^` and `$` line-anchor metacharacters.
|
|
343
343
|
|
|
@@ -352,7 +352,7 @@ and not any other form.)
|
|
|
352
352
|
|
|
353
353
|
### 24. ONIG_SYN_OP_POSIX_BRACKET (enable POSIX `[:xxxx:]`)
|
|
354
354
|
|
|
355
|
-
_Set in: Oniguruma,
|
|
355
|
+
_Set in: Oniguruma, Ruby, Perl_NG, Perl, GnuRegex, Grep, PosixExtended, PosixBasic_
|
|
356
356
|
|
|
357
357
|
Enables support for the POSIX `[:xxxx:]` character classes, like `[:alpha:]` and `[:digit:]`.
|
|
358
358
|
The supported POSIX character classes are `alnum`, `alpha`, `blank`, `cntrl`, `digit`,
|
|
@@ -361,7 +361,7 @@ The supported POSIX character classes are `alnum`, `alpha`, `blank`, `cntrl`, `d
|
|
|
361
361
|
|
|
362
362
|
### 25. ONIG_SYN_OP_QMARK_NON_GREEDY (enable `r??`, `r*?`, `r+?`, and `r{n,m}?`)
|
|
363
363
|
|
|
364
|
-
_Set in: Oniguruma,
|
|
364
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java_
|
|
365
365
|
|
|
366
366
|
Enables support for lazy (non-greedy) quantifiers: That is, if you append a `?` after
|
|
367
367
|
another quantifier such as `?`, `*`, `+`, or `{n,m}`, Oniguruma will try to match
|
|
@@ -370,17 +370,17 @@ as _little_ as possible instead of as _much_ as possible.
|
|
|
370
370
|
|
|
371
371
|
### 26. ONIG_SYN_OP_ESC_CONTROL_CHARS (enable `\n`, `\r`, `\t`, etc.)
|
|
372
372
|
|
|
373
|
-
_Set in: Oniguruma,
|
|
373
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, Emacs, PosixExtended, PosixBasic_
|
|
374
374
|
|
|
375
375
|
Enables support for C-style control-code escapes, like `\n` and `\r`. Specifically,
|
|
376
376
|
this recognizes `\a` (7), `\b` (8), `\t` (9), `\n` (10), `\f` (12), `\r` (13), and
|
|
377
|
-
`\e` (27). If ONIG_SYN_OP2_ESC_V_VTAB is enabled (see below), this also enables
|
|
377
|
+
`\e` (27). If `ONIG_SYN_OP2_ESC_V_VTAB` is enabled (see below), this also enables
|
|
378
378
|
support for recognizing `\v` as code point 11.
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
### 27. ONIG_SYN_OP_ESC_C_CONTROL (enable `\cx` control codes)
|
|
382
382
|
|
|
383
|
-
_Set in: Oniguruma,
|
|
383
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java_
|
|
384
384
|
|
|
385
385
|
Enables support for named control-code escapes, like `\cm` or `\cM` for code-point
|
|
386
386
|
13. In this shorthand form, control codes may be specified by `\c` (for "Control")
|
|
@@ -390,7 +390,7 @@ followed by an alphabetic letter, a-z or A-Z, indicating which code point to rep
|
|
|
390
390
|
|
|
391
391
|
### 28. ONIG_SYN_OP_ESC_OCTAL3 (enable `\OOO` octal codes)
|
|
392
392
|
|
|
393
|
-
_Set in: Oniguruma,
|
|
393
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java_
|
|
394
394
|
|
|
395
395
|
Enables support for octal-style escapes of up to three digits, like `\1` for code
|
|
396
396
|
point 1, and `\177` for code point 127. Octal values greater than 255 will result
|
|
@@ -399,7 +399,7 @@ in an error message.
|
|
|
399
399
|
|
|
400
400
|
### 29. ONIG_SYN_OP_ESC_X_HEX2 (enable `\xHH` hex codes)
|
|
401
401
|
|
|
402
|
-
_Set in: Oniguruma,
|
|
402
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java_
|
|
403
403
|
|
|
404
404
|
Enables support for hexadecimal-style escapes of up to two digits, like `\x1` for code
|
|
405
405
|
point 1, and `\x7F` for code point 127.
|
|
@@ -407,7 +407,7 @@ point 1, and `\x7F` for code point 127.
|
|
|
407
407
|
|
|
408
408
|
### 30. ONIG_SYN_OP_ESC_X_BRACE_HEX8 (enable `\x{7HHHHHHH}` hex codes)
|
|
409
409
|
|
|
410
|
-
_Set in: Oniguruma,
|
|
410
|
+
_Set in: Oniguruma, Ruby, Perl_NG, Perl_
|
|
411
411
|
|
|
412
412
|
Enables support for brace-wrapped hexadecimal-style escapes of up to eight digits,
|
|
413
413
|
like `\x{1}` for code point 1, and `\x{FFFE}` for code point 65534.
|
|
@@ -415,7 +415,7 @@ like `\x{1}` for code point 1, and `\x{FFFE}` for code point 65534.
|
|
|
415
415
|
|
|
416
416
|
### 31. ONIG_SYN_OP_ESC_O_BRACE_OCTAL (enable `\o{1OOOOOOOOOO}` octal codes)
|
|
417
417
|
|
|
418
|
-
_Set in: Oniguruma,
|
|
418
|
+
_Set in: Oniguruma, Ruby, Perl_NG, Perl_
|
|
419
419
|
|
|
420
420
|
Enables support for brace-wrapped octal-style escapes of up to eleven digits,
|
|
421
421
|
like `\o{1}` for code point 1, and `\o{177776}` for code point 65534.
|
|
@@ -434,7 +434,7 @@ This group contains support for lesser-known regex syntax constructs.
|
|
|
434
434
|
|
|
435
435
|
### 0. ONIG_SYN_OP2_ESC_CAPITAL_Q_QUOTE (enable `\Q...\E`)
|
|
436
436
|
|
|
437
|
-
_Set in:
|
|
437
|
+
_Set in: Perl_NG, Perl, Java_
|
|
438
438
|
|
|
439
439
|
Enables support for "quoted" parts of a pattern: Between `\Q` and `\E`, all
|
|
440
440
|
syntax parsing is turned off, so that metacharacters like `*` and `+` will no
|
|
@@ -444,7 +444,7 @@ longer be treated as metacharacters, and instead will be matched as literal
|
|
|
444
444
|
|
|
445
445
|
### 1. ONIG_SYN_OP2_QMARK_GROUP_EFFECT (enable `(?...)`)
|
|
446
446
|
|
|
447
|
-
_Set in: Oniguruma,
|
|
447
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, Emacs_
|
|
448
448
|
|
|
449
449
|
Enables support for the fairly-common `(?...)` grouping operator, which
|
|
450
450
|
controls precedence but which does _not_ capture its contents.
|
|
@@ -452,7 +452,7 @@ controls precedence but which does _not_ capture its contents.
|
|
|
452
452
|
|
|
453
453
|
### 2. ONIG_SYN_OP2_OPTION_PERL (enable options `(?imsx)` and `(?-imsx)`)
|
|
454
454
|
|
|
455
|
-
_Set in:
|
|
455
|
+
_Set in: Python, Perl_NG, Perl, Java_
|
|
456
456
|
|
|
457
457
|
Enables support of regex options. (i,m,s,x)
|
|
458
458
|
The supported toggle-able options for this flag are:
|
|
@@ -465,7 +465,7 @@ The supported toggle-able options for this flag are:
|
|
|
465
465
|
|
|
466
466
|
### 3. ONIG_SYN_OP2_OPTION_RUBY (enable options `(?imx)` and `(?-imx)`)
|
|
467
467
|
|
|
468
|
-
_Set in:
|
|
468
|
+
_Set in: Ruby_
|
|
469
469
|
|
|
470
470
|
Enables support of regex options. (i,m,x)
|
|
471
471
|
The supported toggle-able options for this flag are:
|
|
@@ -477,7 +477,7 @@ The supported toggle-able options for this flag are:
|
|
|
477
477
|
|
|
478
478
|
### 4. ONIG_SYN_OP2_PLUS_POSSESSIVE_REPEAT (enable `r?+`, `r*+`, and `r++`)
|
|
479
479
|
|
|
480
|
-
_Set in: Oniguruma,
|
|
480
|
+
_Set in: Oniguruma, Ruby, Perl_NG, Perl, Java_
|
|
481
481
|
|
|
482
482
|
Enables support for the _possessive_ quantifiers `?+`, `*+`, and `++`, which
|
|
483
483
|
work similarly to `?` and `*` and `+`, respectively, but which do not backtrack
|
|
@@ -488,7 +488,7 @@ extent if subsequent parts of the pattern fail to match.
|
|
|
488
488
|
|
|
489
489
|
### 5. ONIG_SYN_OP2_PLUS_POSSESSIVE_INTERVAL (enable `r{n,m}+`)
|
|
490
490
|
|
|
491
|
-
_Set in: Java_
|
|
491
|
+
_Set in: Perl_NG, Perl, Java_
|
|
492
492
|
|
|
493
493
|
Enables support for the _possessive_ quantifier `{n,m}+`, which
|
|
494
494
|
works similarly to `{n,m}`, but which does not backtrack
|
|
@@ -499,7 +499,7 @@ extent if subsequent parts of the pattern fail to match.
|
|
|
499
499
|
|
|
500
500
|
### 6. ONIG_SYN_OP2_CCLASS_SET_OP (enable `&&` within `[...]`)
|
|
501
501
|
|
|
502
|
-
_Set in: Oniguruma,
|
|
502
|
+
_Set in: Oniguruma, Ruby, Java_
|
|
503
503
|
|
|
504
504
|
Enables support for character-class _intersection_. For example, with this
|
|
505
505
|
feature enabled, you can write `[a-z&&[^aeiou]]` to produce a character class
|
|
@@ -509,7 +509,7 @@ all control codes _except_ newlines.
|
|
|
509
509
|
|
|
510
510
|
### 7. ONIG_SYN_OP2_QMARK_LT_NAMED_GROUP (enable named captures `(?<name>...)`)
|
|
511
511
|
|
|
512
|
-
_Set in: Oniguruma,
|
|
512
|
+
_Set in: Oniguruma, Ruby, Perl_NG_
|
|
513
513
|
|
|
514
514
|
Enables support for _naming_ capture groups, so that instead of having to
|
|
515
515
|
refer to captures by position (like `\3` or `$3`), you can refer to them by names
|
|
@@ -519,7 +519,7 @@ and `(?'name'...)`, but not the Python `(?P<name>...)` syntax.
|
|
|
519
519
|
|
|
520
520
|
### 8. ONIG_SYN_OP2_ESC_K_NAMED_BACKREF (enable named backreferences `\k<name>`)
|
|
521
521
|
|
|
522
|
-
_Set in: Oniguruma,
|
|
522
|
+
_Set in: Oniguruma, Ruby, Perl_NG_
|
|
523
523
|
|
|
524
524
|
Enables support for substituted backreferences by name, not just by position.
|
|
525
525
|
This supports using `\k'name'` in addition to supporting `\k<name>`. This also
|
|
@@ -530,7 +530,7 @@ the match, if the capture matched multiple times, by writing `\k<name+n>` or
|
|
|
530
530
|
|
|
531
531
|
### 9. ONIG_SYN_OP2_ESC_G_SUBEXP_CALL (enable backreferences `\g<name>` and `\g<n>`)
|
|
532
532
|
|
|
533
|
-
_Set in: Oniguruma,
|
|
533
|
+
_Set in: Oniguruma, Ruby, Perl_NG_
|
|
534
534
|
|
|
535
535
|
Enables support for substituted backreferences by both name and position using
|
|
536
536
|
the same syntax. This supports using `\g'name'` and `\g'1'` in addition to
|
|
@@ -562,7 +562,7 @@ followed by a single character (or equivalent), indicating which code point to r
|
|
|
562
562
|
based on that character's lowest five bits. So, like `\c`, you can represent code-point
|
|
563
563
|
10 with `\C-j`, but you can also represent it with `\C-*` as well.
|
|
564
564
|
|
|
565
|
-
See also ONIG_SYN_OP_ESC_C_CONTROL
|
|
565
|
+
See also `ONIG_SYN_OP_ESC_C_CONTROL`, which enables the more-common `\cx` syntax.
|
|
566
566
|
|
|
567
567
|
|
|
568
568
|
### 12. ONIG_SYN_OP2_ESC_CAPITAL_M_BAR_META (enable `\M-x`)
|
|
@@ -577,7 +577,7 @@ with `0x80`). So, for example, you can match `\x81` using `\x81`, or you can wr
|
|
|
577
577
|
|
|
578
578
|
### 13. ONIG_SYN_OP2_ESC_V_VTAB (enable `\v` as vertical tab)
|
|
579
579
|
|
|
580
|
-
_Set in: Oniguruma,
|
|
580
|
+
_Set in: Oniguruma, Python, Ruby, Java_
|
|
581
581
|
|
|
582
582
|
Enables support for a C-style `\v` escape code, meaning "vertical tab." If enabled,
|
|
583
583
|
`\v` will be equivalent to ASCII code point 11.
|
|
@@ -585,7 +585,7 @@ Enables support for a C-style `\v` escape code, meaning "vertical tab." If enab
|
|
|
585
585
|
|
|
586
586
|
### 14. ONIG_SYN_OP2_ESC_U_HEX4 (enable `\uHHHH` for Unicode)
|
|
587
587
|
|
|
588
|
-
_Set in: Oniguruma,
|
|
588
|
+
_Set in: Oniguruma, Python, Ruby, Java_
|
|
589
589
|
|
|
590
590
|
Enables support for a Java-style `\uHHHH` escape code for representing Unicode
|
|
591
591
|
code-points by number, using up to four hexadecimal digits (up to `\uFFFF`). So,
|
|
@@ -593,8 +593,8 @@ for example, `\u221E` will match an infinity symbol, `∞`.
|
|
|
593
593
|
|
|
594
594
|
For code points larger than four digits, like the emoji `🚡` (aerial tramway, or code
|
|
595
595
|
point U+1F6A1), you must either represent the character directly using an encoding like
|
|
596
|
-
UTF-8, or you must enable support for ONIG_SYN_OP_ESC_X_BRACE_HEX8 or
|
|
597
|
-
ONIG_SYN_OP_ESC_O_BRACE_OCTAL
|
|
596
|
+
UTF-8, or you must enable support for `ONIG_SYN_OP_ESC_X_BRACE_HEX8` or
|
|
597
|
+
`ONIG_SYN_OP_ESC_O_BRACE_OCTAL`, which support more than four digits.
|
|
598
598
|
|
|
599
599
|
(New feature as of Oniguruma 6.7.)
|
|
600
600
|
|
|
@@ -604,29 +604,29 @@ ONIG_SYN_OP_ESC_O_BRACE_OCTAL, which support more than four digits.
|
|
|
604
604
|
_Set in: Emacs_
|
|
605
605
|
|
|
606
606
|
This flag makes the ``\` `` and `\'` escapes function identically to
|
|
607
|
-
`\A` and `\z`, respectively (when ONIG_SYN_OP_ESC_AZ_BUF_ANCHOR is enabled).
|
|
607
|
+
`\A` and `\z`, respectively (when `ONIG_SYN_OP_ESC_AZ_BUF_ANCHOR` is enabled).
|
|
608
608
|
|
|
609
609
|
These anchor forms are very obscure, and rarely supported by other regex libraries.
|
|
610
610
|
|
|
611
611
|
|
|
612
612
|
### 16. ONIG_SYN_OP2_ESC_P_BRACE_CHAR_PROPERTY (enable `\p{...}` and `\P{...}`)
|
|
613
613
|
|
|
614
|
-
_Set in: Oniguruma,
|
|
614
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java_
|
|
615
615
|
|
|
616
616
|
Enables support for an alternate syntax for POSIX character classes; instead of
|
|
617
617
|
writing `[:alpha:]` when this is enabled, you can instead write `\p{alpha}`.
|
|
618
618
|
|
|
619
|
-
See also ONIG_SYN_OP_POSIX_BRACKET for the classic POSIX form.
|
|
619
|
+
See also `ONIG_SYN_OP_POSIX_BRACKET` for the classic POSIX form.
|
|
620
620
|
|
|
621
621
|
|
|
622
622
|
### 17. ONIG_SYN_OP2_ESC_P_BRACE_CIRCUMFLEX_NOT (enable `\p{^...}` and `\P{^...}`)
|
|
623
623
|
|
|
624
|
-
_Set in: Oniguruma,
|
|
624
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl_
|
|
625
625
|
|
|
626
626
|
Enables support for an alternate syntax for POSIX character classes; instead of
|
|
627
627
|
writing `[:^alpha:]` when this is enabled, you can instead write `\p{^alpha}`.
|
|
628
628
|
|
|
629
|
-
See also ONIG_SYN_OP_POSIX_BRACKET for the classic POSIX form.
|
|
629
|
+
See also `ONIG_SYN_OP_POSIX_BRACKET` for the classic POSIX form.
|
|
630
630
|
|
|
631
631
|
|
|
632
632
|
### 18. ONIG_SYN_OP2_CHAR_PROPERTY_PREFIX_IS
|
|
@@ -647,7 +647,7 @@ characters in `[0-9a-fA-F]`.
|
|
|
647
647
|
|
|
648
648
|
### 20. ONIG_SYN_OP2_INEFFECTIVE_ESCAPE (disable `\`)
|
|
649
649
|
|
|
650
|
-
_Set in:
|
|
650
|
+
_Set in: ASIS_
|
|
651
651
|
|
|
652
652
|
If set, this disables all escape codes, shorthands, and metacharacters that start
|
|
653
653
|
with `\` (or whatever the configured escape character is), allowing `\` to be treated
|
|
@@ -658,7 +658,7 @@ You usually do not want this flag to be enabled.
|
|
|
658
658
|
|
|
659
659
|
### 21. ONIG_SYN_OP2_QMARK_LPAREN_IF_ELSE (enable `(?(...)then|else)`)
|
|
660
660
|
|
|
661
|
-
_Set in: Oniguruma,
|
|
661
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl_
|
|
662
662
|
|
|
663
663
|
Enables support for conditional inclusion of subsequent regex patterns based on whether
|
|
664
664
|
a prior named or numbered capture matched, or based on whether a pattern will
|
|
@@ -676,7 +676,7 @@ match. This supports many different forms, including:
|
|
|
676
676
|
|
|
677
677
|
### 22. ONIG_SYN_OP2_ESC_CAPITAL_K_KEEP (enable `\K`)
|
|
678
678
|
|
|
679
|
-
_Set in: Oniguruma,
|
|
679
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl_
|
|
680
680
|
|
|
681
681
|
Enables support for `\K`, which excludes all content before it from the overall
|
|
682
682
|
regex match (i.e., capture #0). So, for example, pattern `foo\Kbar` would match
|
|
@@ -687,7 +687,7 @@ regex match (i.e., capture #0). So, for example, pattern `foo\Kbar` would match
|
|
|
687
687
|
|
|
688
688
|
### 23. ONIG_SYN_OP2_ESC_CAPITAL_R_GENERAL_NEWLINE (enable `\R`)
|
|
689
689
|
|
|
690
|
-
_Set in: Oniguruma,
|
|
690
|
+
_Set in: Oniguruma, Ruby, Perl_NG, Perl_
|
|
691
691
|
|
|
692
692
|
Enables support for `\R`, the "general newline" shorthand, which matches
|
|
693
693
|
`(\r\n|[\n\v\f\r\u0085\u2028\u2029])` (obviously, the Unicode values are cannot be
|
|
@@ -698,7 +698,7 @@ matched in ASCII encodings).
|
|
|
698
698
|
|
|
699
699
|
### 24. ONIG_SYN_OP2_ESC_CAPITAL_N_O_SUPER_DOT (enable `\N` and `\O`)
|
|
700
700
|
|
|
701
|
-
_Set in: Oniguruma,
|
|
701
|
+
_Set in: Oniguruma, Perl_NG, Perl_
|
|
702
702
|
|
|
703
703
|
Enables support for `\N` and `\O`. `\N` is "not a line break," which is much
|
|
704
704
|
like the standard `.` metacharacter, except that while `.` can be affected by
|
|
@@ -713,7 +713,7 @@ multi-line mode are enabled or disabled.
|
|
|
713
713
|
|
|
714
714
|
### 25. ONIG_SYN_OP2_QMARK_TILDE_ABSENT_GROUP (enable `(?~...)`)
|
|
715
715
|
|
|
716
|
-
_Set in: Oniguruma,
|
|
716
|
+
_Set in: Oniguruma, Ruby, Perl_NG, Perl_
|
|
717
717
|
|
|
718
718
|
Enables support for the `(?~r)` "absent operator" syntax, which matches
|
|
719
719
|
as much as possible as long as the result _doesn't_ match pattern `r`. This is
|
|
@@ -731,7 +731,7 @@ excellent article about it is [available on Medium](https://medium.com/rubyinsid
|
|
|
731
731
|
|
|
732
732
|
### 26. ONIG_SYN_OP2_ESC_X_Y_TEXT_SEGMENT (enable `\X` and `\Y` and `\y`)
|
|
733
733
|
|
|
734
|
-
_Set in: Oniguruma,
|
|
734
|
+
_Set in: Oniguruma, Ruby, Perl_NG, Perl_
|
|
735
735
|
|
|
736
736
|
`\X` is another variation on `.`, designed to support Unicode, in that it matches
|
|
737
737
|
a full _grapheme cluster_. In Unicode, `à` can be encoded as one code point,
|
|
@@ -764,7 +764,7 @@ backreferences.
|
|
|
764
764
|
|
|
765
765
|
### 28. ONIG_SYN_OP2_QMARK_BRACE_CALLOUT_CONTENTS (enable `(?{...})`)
|
|
766
766
|
|
|
767
|
-
_Set in: Oniguruma,
|
|
767
|
+
_Set in: Oniguruma, Perl_NG, Perl_
|
|
768
768
|
|
|
769
769
|
Enables support for Perl-style "callouts" — pattern substitutions that result from
|
|
770
770
|
invoking a callback method. When `(?{foo})` is reached in a pattern, the callback
|
|
@@ -779,7 +779,7 @@ Full documentation for this advanced feature can be found in the Oniguruma
|
|
|
779
779
|
|
|
780
780
|
### 29. ONIG_SYN_OP2_ASTERISK_CALLOUT_NAME (enable `(*name)`)
|
|
781
781
|
|
|
782
|
-
_Set in: Oniguruma,
|
|
782
|
+
_Set in: Oniguruma, Python, Perl_NG, Perl_
|
|
783
783
|
|
|
784
784
|
Enables support for Perl-style "callouts" — pattern substitutions that result from
|
|
785
785
|
invoking a callback method. When `(*foo)` is reached in a pattern, the callback
|
|
@@ -809,6 +809,13 @@ Enables support of regex options. (i,m,x,W,S,D,P,y)
|
|
|
809
809
|
- `S` - ASCII only space.
|
|
810
810
|
- `P` - ASCII only POSIX properties. (includes W,D,S)
|
|
811
811
|
|
|
812
|
+
|
|
813
|
+
### 31. ONIG_SYN_OP2_QMARK_CAPITAL_P_NAME (enable `(?P<name>...)` and `(?P=name)`)
|
|
814
|
+
|
|
815
|
+
_Set in: Python_
|
|
816
|
+
|
|
817
|
+
(New feature as of Oniguruma 6.9.7)
|
|
818
|
+
|
|
812
819
|
----------
|
|
813
820
|
|
|
814
821
|
|
|
@@ -820,19 +827,19 @@ some syntaxes but not in others.
|
|
|
820
827
|
|
|
821
828
|
### 0. ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS (independent `?`, `*`, `+`, `{n,m}`)
|
|
822
829
|
|
|
823
|
-
_Set in: Oniguruma,
|
|
830
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, PosixExtended_
|
|
824
831
|
|
|
825
832
|
This flag specifies how to handle operators like `?` and `*` when they aren't
|
|
826
833
|
directly attached to an operand, as in `^*` or `(*)`: Are they an error, are
|
|
827
834
|
they discarded, or are they taken as literals? If this flag is clear, they
|
|
828
|
-
are taken as literals; otherwise, the ONIG_SYN_CONTEXT_INVALID_REPEAT_OPS flag
|
|
835
|
+
are taken as literals; otherwise, the `ONIG_SYN_CONTEXT_INVALID_REPEAT_OPS` flag
|
|
829
836
|
determines if they are errors or if they are discarded.
|
|
830
837
|
|
|
831
838
|
### 1. ONIG_SYN_CONTEXT_INVALID_REPEAT_OPS (error or ignore independent operators)
|
|
832
839
|
|
|
833
|
-
_Set in: Oniguruma,
|
|
840
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, PosixExtended_
|
|
834
841
|
|
|
835
|
-
If ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS is set, this flag controls what happens when
|
|
842
|
+
If `ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS` is set, this flag controls what happens when
|
|
836
843
|
independent operators appear in a pattern: If this flag is set, then independent
|
|
837
844
|
operators produce an error message; if this flag is clear, then independent
|
|
838
845
|
operators are silently discarded.
|
|
@@ -847,7 +854,7 @@ character will produce an error message.
|
|
|
847
854
|
|
|
848
855
|
### 3. ONIG_SYN_ALLOW_INVALID_INTERVAL (allow `{???`)
|
|
849
856
|
|
|
850
|
-
_Set in: Oniguruma,
|
|
857
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex_
|
|
851
858
|
|
|
852
859
|
This flag, if set, causes an invalid range, like `foo{bar}` or `foo{}`, to be
|
|
853
860
|
silently discarded, as if `foo` had been written instead. If clear, an invalid
|
|
@@ -855,13 +862,13 @@ range will produce an error message.
|
|
|
855
862
|
|
|
856
863
|
### 4. ONIG_SYN_ALLOW_INTERVAL_LOW_ABBREV (allow `{,n}` to mean `{0,n}`)
|
|
857
864
|
|
|
858
|
-
_Set in: Oniguruma, Ruby_
|
|
865
|
+
_Set in: Oniguruma, Python, Ruby_
|
|
859
866
|
|
|
860
867
|
If this flag is set, then `r{,n}` will be treated as equivalent to writing
|
|
861
868
|
`{0,n}`. If this flag is clear, then `r{,n}` will produce an error message.
|
|
862
869
|
|
|
863
870
|
Note that regardless of whether this flag is set or clear, if
|
|
864
|
-
ONIG_SYN_OP_BRACE_INTERVAL is enabled, then `r{n,}` will always be legal: This
|
|
871
|
+
`ONIG_SYN_OP_BRACE_INTERVAL` is enabled, then `r{n,}` will always be legal: This
|
|
865
872
|
flag *only* controls the behavior of the opposite form, `r{,n}`.
|
|
866
873
|
|
|
867
874
|
### 5. ONIG_SYN_STRICT_CHECK_BACKREF (error on invalid backrefs)
|
|
@@ -876,7 +883,7 @@ No built-in syntax has this flag enabled.
|
|
|
876
883
|
|
|
877
884
|
### 6. ONIG_SYN_DIFFERENT_LEN_ALT_LOOK_BEHIND (allow `(?<=a|bc)`)
|
|
878
885
|
|
|
879
|
-
_Set in: Oniguruma,
|
|
886
|
+
_Set in: Oniguruma, Ruby, Java_
|
|
880
887
|
|
|
881
888
|
If this flag is set, lookbehind patterns with alternate options may have differing
|
|
882
889
|
lengths among those options. If this flag is clear, lookbehind patterns with options
|
|
@@ -888,15 +895,15 @@ depend on this rule.
|
|
|
888
895
|
|
|
889
896
|
### 7. ONIG_SYN_CAPTURE_ONLY_NAMED_GROUP (prefer `\k<name>` over `\3`)
|
|
890
897
|
|
|
891
|
-
_Set in: Oniguruma,
|
|
898
|
+
_Set in: Oniguruma, Ruby, Perl_NG_
|
|
892
899
|
|
|
893
|
-
If this flag is set on the syntax *and* ONIG_OPTION_CAPTURE_GROUP is set when calling
|
|
900
|
+
If this flag is set on the syntax *and* `ONIG_OPTION_CAPTURE_GROUP` is set when calling
|
|
894
901
|
Oniguruma, then if a name is used on any capture, all captures must also use names: A
|
|
895
902
|
single use of a named capture prohibits the use of numbered captures.
|
|
896
903
|
|
|
897
904
|
### 8. ONIG_SYN_ALLOW_MULTIPLEX_DEFINITION_NAME (allow `(?<x>)...(?<x>)`)
|
|
898
905
|
|
|
899
|
-
_Set in: Oniguruma,
|
|
906
|
+
_Set in: Oniguruma, Ruby, Perl_NG_
|
|
900
907
|
|
|
901
908
|
If this flag is set, multiple capture groups may use the same name. If this flag is
|
|
902
909
|
clear, then reuse of a name will produce an error message.
|
|
@@ -912,10 +919,10 @@ then `r{n}?` will mean the same as `r{n}`, and the useless `?` will be discarded
|
|
|
912
919
|
|
|
913
920
|
### 10. ONIG_SYN_ISOLATED_OPTION_CONTINUE_BRANCH (`..(?i)..`)
|
|
914
921
|
|
|
915
|
-
_Set in:
|
|
922
|
+
_Set in: Python, Perl_NG, Perl, Java_
|
|
916
923
|
|
|
917
924
|
If this flag is set, then an isolated option doesn't break the branch and affects until the end of the group (or end of the pattern).
|
|
918
|
-
If this flag is not set, then an isolated option is interpreted as the starting point of a new branch.
|
|
925
|
+
If this flag is not set, then an isolated option is interpreted as the starting point of a new branch. `/a(?i)b|c/` ==> `/a(?i:b|c)/`
|
|
919
926
|
|
|
920
927
|
### 11. ONIG_SYN_VARIABLE_LEN_LOOK_BEHIND (`(?<=...a+...)`)
|
|
921
928
|
|
|
@@ -923,6 +930,24 @@ _Set in: Oniguruma, Java_
|
|
|
923
930
|
|
|
924
931
|
If this flag is set, then a variable length expressions are allowed in look-behind.
|
|
925
932
|
|
|
933
|
+
### 12. ONIG_SYN_PYTHON (enable `\UHHHHHHHH` for Unicode)
|
|
934
|
+
|
|
935
|
+
_Set in: Python_
|
|
936
|
+
|
|
937
|
+
(New feature as of Oniguruma 6.9.7)
|
|
938
|
+
|
|
939
|
+
### 13. ONIG_SYN_WHOLE_OPTIONS (enable options `(?CLI)`)
|
|
940
|
+
|
|
941
|
+
_Set in: Oniguruma_
|
|
942
|
+
|
|
943
|
+
(New feature as of Oniguruma 6.9.8)
|
|
944
|
+
|
|
945
|
+
### 14. ONIG_SYN_BRE_ANCHOR_AT_EDGE_OF_SUBEXP (enable `\(^abc$\)`)
|
|
946
|
+
|
|
947
|
+
_Set in: Grep, PosixBasic_
|
|
948
|
+
|
|
949
|
+
(New feature as of Oniguruma 6.9.9)
|
|
950
|
+
|
|
926
951
|
### 20. ONIG_SYN_NOT_NEWLINE_IN_NEGATIVE_CC (add `\n` to `[^...]`)
|
|
927
952
|
|
|
928
953
|
_Set in: Grep_
|
|
@@ -934,7 +959,7 @@ only exclude those characters and ranges written in them.
|
|
|
934
959
|
|
|
935
960
|
### 21. ONIG_SYN_BACKSLASH_ESCAPE_IN_CC (allow `[...\w...]`)
|
|
936
961
|
|
|
937
|
-
_Set in: Oniguruma,
|
|
962
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex_
|
|
938
963
|
|
|
939
964
|
If this flag is set, shorthands like `\w` are allowed to describe characters in character
|
|
940
965
|
classes. If this flag is clear, shorthands like `\w` are treated as a redundantly-escaped
|
|
@@ -942,7 +967,7 @@ literal `w`.
|
|
|
942
967
|
|
|
943
968
|
### 22. ONIG_SYN_ALLOW_EMPTY_RANGE_IN_CC (silently discard `[z-a]`)
|
|
944
969
|
|
|
945
|
-
_Set in:
|
|
970
|
+
_Set in: Grep, Emacs_
|
|
946
971
|
|
|
947
972
|
If this flag is set, then character ranges like `[z-a]` that are broken or contain no
|
|
948
973
|
characters will be silently ignored. If this flag is clear, then broken or empty
|
|
@@ -950,7 +975,7 @@ character ranges will produce an error message.
|
|
|
950
975
|
|
|
951
976
|
### 23. ONIG_SYN_ALLOW_DOUBLE_RANGE_OP_IN_CC (treat `[0-9-a]` as `[0-9\-a]`)
|
|
952
977
|
|
|
953
|
-
_Set in: Oniguruma,
|
|
978
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, PosixExtended_
|
|
954
979
|
|
|
955
980
|
If this flag is set, then a trailing `-` after a character range will be taken as a
|
|
956
981
|
literal `-`, as if it had been escaped as `\-`. If this flag is clear, then a trailing
|
|
@@ -973,15 +998,21 @@ _Set in: Oniguruma, Ruby_
|
|
|
973
998
|
If this flag is set, Oniguruma will warn about nested repeat operators those have no meaning, like `(?:a*)+`.
|
|
974
999
|
If this flag is clear, Oniguruma will allow the nested repeat operators without warning about them.
|
|
975
1000
|
|
|
976
|
-
### 26. ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE_IN_CC (allow [a-\x{7fffffff}])
|
|
1001
|
+
### 26. ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE_IN_CC (allow `[a-\x{7fffffff}]`)
|
|
977
1002
|
|
|
978
1003
|
_Set in: Oniguruma_
|
|
979
1004
|
|
|
980
1005
|
If this flag is set, then invalid code points at the end of range in character class are allowed.
|
|
981
1006
|
|
|
1007
|
+
### 27. ONIG_SYN_ALLOW_CHAR_TYPE_FOLLOWED_BY_MINUS_IN_CC (allow `[\w-%]` to mean `[\w\-%]`)
|
|
1008
|
+
|
|
1009
|
+
_Set in: Perl_NG, Perl, Java_
|
|
1010
|
+
|
|
1011
|
+
(New feature as of Oniguruma 6.9.10)
|
|
1012
|
+
|
|
982
1013
|
### 31. ONIG_SYN_CONTEXT_INDEP_ANCHORS
|
|
983
1014
|
|
|
984
|
-
_Set in: Oniguruma,
|
|
1015
|
+
_Set in: Oniguruma, Python, Ruby, Perl_NG, Perl, Java, GnuRegex, PosixExtended_
|
|
985
1016
|
|
|
986
1017
|
Not currently used, and does nothing. (But still set in several syntaxes for some
|
|
987
1018
|
reason.)
|
|
@@ -994,98 +1025,102 @@ These tables show which of the built-in syntaxes use which flags and options, fo
|
|
|
994
1025
|
|
|
995
1026
|
### Group One Flags (op)
|
|
996
1027
|
|
|
997
|
-
| ID | Option
|
|
998
|
-
| ----- |
|
|
999
|
-
|
|
|
1000
|
-
|
|
|
1001
|
-
|
|
|
1002
|
-
|
|
|
1003
|
-
|
|
|
1004
|
-
|
|
|
1005
|
-
|
|
|
1006
|
-
|
|
|
1007
|
-
|
|
|
1008
|
-
|
|
|
1009
|
-
| 10 | `ONIG_SYN_OP_VBAR_ALT`
|
|
1010
|
-
| 11 | `ONIG_SYN_OP_ESC_VBAR_ALT`
|
|
1011
|
-
| 12 | `ONIG_SYN_OP_LPAREN_SUBEXP`
|
|
1012
|
-
| 13 | `ONIG_SYN_OP_ESC_LPAREN_SUBEXP`
|
|
1013
|
-
| 14 | `ONIG_SYN_OP_ESC_AZ_BUF_ANCHOR`
|
|
1014
|
-
| 15 | `ONIG_SYN_OP_ESC_CAPITAL_G_BEGIN_ANCHOR`
|
|
1015
|
-
| 16 | `ONIG_SYN_OP_DECIMAL_BACKREF`
|
|
1016
|
-
| 17 | `ONIG_SYN_OP_BRACKET_CC`
|
|
1017
|
-
| 18 | `ONIG_SYN_OP_ESC_W_WORD`
|
|
1018
|
-
| 19 | `ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END`
|
|
1019
|
-
| 20 | `ONIG_SYN_OP_ESC_B_WORD_BOUND`
|
|
1020
|
-
| 21 | `ONIG_SYN_OP_ESC_S_WHITE_SPACE`
|
|
1021
|
-
| 22 | `ONIG_SYN_OP_ESC_D_DIGIT`
|
|
1022
|
-
| 23 | `ONIG_SYN_OP_LINE_ANCHOR`
|
|
1023
|
-
| 24 | `ONIG_SYN_OP_POSIX_BRACKET`
|
|
1024
|
-
| 25 | `ONIG_SYN_OP_QMARK_NON_GREEDY`
|
|
1025
|
-
| 26 | `ONIG_SYN_OP_ESC_CONTROL_CHARS`
|
|
1026
|
-
| 27 | `ONIG_SYN_OP_ESC_C_CONTROL`
|
|
1027
|
-
| 28 | `ONIG_SYN_OP_ESC_OCTAL3`
|
|
1028
|
-
| 29 | `ONIG_SYN_OP_ESC_X_HEX2`
|
|
1029
|
-
| 30 | `ONIG_SYN_OP_ESC_X_BRACE_HEX8`
|
|
1030
|
-
| 31 | `ONIG_SYN_OP_ESC_O_BRACE_OCTAL`
|
|
1028
|
+
| ID | Option | Onig | Pythn | Ruby | PeNG | Perl | Java | Gnu | Grep | Emacs | PosEx | PosB | ASIS |
|
|
1029
|
+
| ----- | ------------------------------------------ | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
|
|
1030
|
+
| 0 | `ONIG_SYN_OP_VARIABLE_META_CHARACTERS` | - | - | - | - | - | - | - | - | - | - | - | - |
|
|
1031
|
+
| 1 | `ONIG_SYN_OP_DOT_ANYCHAR` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - |
|
|
1032
|
+
| 2 | `ONIG_SYN_OP_ASTERISK_ZERO_INF` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - |
|
|
1033
|
+
| 3 | `ONIG_SYN_OP_ESC_ASTERISK_ZERO_INF` | - | - | - | - | - | - | - | - | - | - | - | - |
|
|
1034
|
+
| 4 | `ONIG_SYN_OP_PLUS_ONE_INF` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | Yes | Yes | - | - |
|
|
1035
|
+
| 5 | `ONIG_SYN_OP_ESC_PLUS_ONE_INF` | - | - | - | - | - | - | - | Yes | - | - | - | - |
|
|
1036
|
+
| 6 | `ONIG_SYN_OP_QMARK_ZERO_ONE` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | Yes | Yes | - | - |
|
|
1037
|
+
| 7 | `ONIG_SYN_OP_ESC_QMARK_ZERO_ONE` | - | - | - | - | - | - | - | Yes | - | - | - | - |
|
|
1038
|
+
| 8 | `ONIG_SYN_OP_BRACE_INTERVAL` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - |
|
|
1039
|
+
| 9 | `ONIG_SYN_OP_ESC_BRACE_INTERVAL` | - | - | - | - | - | - | - | Yes | Yes | - | Yes | - |
|
|
1040
|
+
| 10 | `ONIG_SYN_OP_VBAR_ALT` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - |
|
|
1041
|
+
| 11 | `ONIG_SYN_OP_ESC_VBAR_ALT` | - | - | - | - | - | - | - | Yes | Yes | - | - | - |
|
|
1042
|
+
| 12 | `ONIG_SYN_OP_LPAREN_SUBEXP` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - |
|
|
1043
|
+
| 13 | `ONIG_SYN_OP_ESC_LPAREN_SUBEXP` | - | - | - | - | - | - | - | Yes | Yes | - | Yes | - |
|
|
1044
|
+
| 14 | `ONIG_SYN_OP_ESC_AZ_BUF_ANCHOR` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - |
|
|
1045
|
+
| 15 | `ONIG_SYN_OP_ESC_CAPITAL_G_BEGIN_ANCHOR` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - |
|
|
1046
|
+
| 16 | `ONIG_SYN_OP_DECIMAL_BACKREF` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - |
|
|
1047
|
+
| 17 | `ONIG_SYN_OP_BRACKET_CC` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - |
|
|
1048
|
+
| 18 | `ONIG_SYN_OP_ESC_W_WORD` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - |
|
|
1049
|
+
| 19 | `ONIG_SYN_OP_ESC_LTGT_WORD_BEGIN_END` | - | - | - | - | - | - | Yes | Yes | - | - | - | - |
|
|
1050
|
+
| 20 | `ONIG_SYN_OP_ESC_B_WORD_BOUND` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - |
|
|
1051
|
+
| 21 | `ONIG_SYN_OP_ESC_S_WHITE_SPACE` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - |
|
|
1052
|
+
| 22 | `ONIG_SYN_OP_ESC_D_DIGIT` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - |
|
|
1053
|
+
| 23 | `ONIG_SYN_OP_LINE_ANCHOR` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - |
|
|
1054
|
+
| 24 | `ONIG_SYN_OP_POSIX_BRACKET` | Yes | - | Yes | Yes | Yes | - | Yes | Yes | - | Yes | Yes | - |
|
|
1055
|
+
| 25 | `ONIG_SYN_OP_QMARK_NON_GREEDY` | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1056
|
+
| 26 | `ONIG_SYN_OP_ESC_CONTROL_CHARS` | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | Yes | Yes | - |
|
|
1057
|
+
| 27 | `ONIG_SYN_OP_ESC_C_CONTROL` | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1058
|
+
| 28 | `ONIG_SYN_OP_ESC_OCTAL3` | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1059
|
+
| 29 | `ONIG_SYN_OP_ESC_X_HEX2` | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1060
|
+
| 30 | `ONIG_SYN_OP_ESC_X_BRACE_HEX8` | Yes | - | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1061
|
+
| 31 | `ONIG_SYN_OP_ESC_O_BRACE_OCTAL` | Yes | - | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1031
1062
|
|
|
1032
1063
|
### Group Two Flags (op2)
|
|
1033
1064
|
|
|
1034
|
-
| ID | Option
|
|
1035
|
-
| ----- |
|
|
1036
|
-
|
|
|
1037
|
-
|
|
|
1038
|
-
|
|
|
1039
|
-
|
|
|
1040
|
-
|
|
|
1041
|
-
|
|
|
1042
|
-
|
|
|
1043
|
-
|
|
|
1044
|
-
|
|
|
1045
|
-
|
|
|
1046
|
-
| 10 | `ONIG_SYN_OP2_ATMARK_CAPTURE_HISTORY`
|
|
1047
|
-
| 11 | `ONIG_SYN_OP2_ESC_CAPITAL_C_BAR_CONTROL`
|
|
1048
|
-
| 12 | `ONIG_SYN_OP2_ESC_CAPITAL_M_BAR_META`
|
|
1049
|
-
| 13 | `ONIG_SYN_OP2_ESC_V_VTAB`
|
|
1050
|
-
| 14 | `ONIG_SYN_OP2_ESC_U_HEX4`
|
|
1051
|
-
| 15 | `ONIG_SYN_OP2_ESC_GNU_BUF_ANCHOR`
|
|
1052
|
-
| 16 | `ONIG_SYN_OP2_ESC_P_BRACE_CHAR_PROPERTY`
|
|
1053
|
-
| 17 | `ONIG_SYN_OP2_ESC_P_BRACE_CIRCUMFLEX_NOT`
|
|
1054
|
-
|
|
|
1055
|
-
|
|
|
1056
|
-
|
|
|
1057
|
-
|
|
|
1058
|
-
|
|
|
1059
|
-
|
|
|
1060
|
-
|
|
|
1061
|
-
|
|
|
1062
|
-
|
|
|
1063
|
-
|
|
|
1064
|
-
|
|
|
1065
|
-
|
|
|
1066
|
-
|
|
|
1065
|
+
| ID | Option | Onig | Pythn | Ruby | PeNG | Perl | Java | Gnu | Grep | Emacs | PosEx | PosB | ASIS |
|
|
1066
|
+
| ----- | ---------------------------------------------- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
|
|
1067
|
+
| 0 | `ONIG_SYN_OP2_ESC_CAPITAL_Q_QUOTE` | - | - | - | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1068
|
+
| 1 | `ONIG_SYN_OP2_QMARK_GROUP_EFFECT` | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - | - |
|
|
1069
|
+
| 2 | `ONIG_SYN_OP2_OPTION_PERL` | - | Yes | - | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1070
|
+
| 3 | `ONIG_SYN_OP2_OPTION_RUBY` | - | - | Yes | - | - | - | - | - | - | - | - | - |
|
|
1071
|
+
| 4 | `ONIG_SYN_OP2_PLUS_POSSESSIVE_REPEAT` | Yes | - | Yes | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1072
|
+
| 5 | `ONIG_SYN_OP2_PLUS_POSSESSIVE_INTERVAL` | - | - | - | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1073
|
+
| 6 | `ONIG_SYN_OP2_CCLASS_SET_OP` | Yes | - | Yes | - | - | Yes | - | - | - | - | - | - |
|
|
1074
|
+
| 7 | `ONIG_SYN_OP2_QMARK_LT_NAMED_GROUP` | Yes | - | Yes | Yes | - | - | - | - | - | - | - | - |
|
|
1075
|
+
| 8 | `ONIG_SYN_OP2_ESC_K_NAMED_BACKREF` | Yes | - | Yes | Yes | - | - | - | - | - | - | - | - |
|
|
1076
|
+
| 9 | `ONIG_SYN_OP2_ESC_G_SUBEXP_CALL` | Yes | - | Yes | Yes | - | - | - | - | - | - | - | - |
|
|
1077
|
+
| 10 | `ONIG_SYN_OP2_ATMARK_CAPTURE_HISTORY` | - | - | - | - | - | - | - | - | - | - | - | - |
|
|
1078
|
+
| 11 | `ONIG_SYN_OP2_ESC_CAPITAL_C_BAR_CONTROL` | Yes | - | Yes | - | - | - | - | - | - | - | - | - |
|
|
1079
|
+
| 12 | `ONIG_SYN_OP2_ESC_CAPITAL_M_BAR_META` | Yes | - | Yes | - | - | - | - | - | - | - | - | - |
|
|
1080
|
+
| 13 | `ONIG_SYN_OP2_ESC_V_VTAB` | Yes | Yes | Yes | - | - | Yes | - | - | - | - | - | - |
|
|
1081
|
+
| 14 | `ONIG_SYN_OP2_ESC_U_HEX4` | Yes | Yes | Yes | - | - | Yes | - | - | - | - | - | - |
|
|
1082
|
+
| 15 | `ONIG_SYN_OP2_ESC_GNU_BUF_ANCHOR` | - | - | - | - | - | - | - | - | Yes | - | - | - |
|
|
1083
|
+
| 16 | `ONIG_SYN_OP2_ESC_P_BRACE_CHAR_PROPERTY` | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1084
|
+
| 17 | `ONIG_SYN_OP2_ESC_P_BRACE_CIRCUMFLEX_NOT` | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1085
|
+
| 19 | `ONIG_SYN_OP2_ESC_H_XDIGIT` | Yes | - | Yes | - | - | - | - | - | - | - | - | - |
|
|
1086
|
+
| 20 | `ONIG_SYN_OP2_INEFFECTIVE_ESCAPE` | - | - | - | - | - | - | - | - | - | - | - | Yes |
|
|
1087
|
+
| 21 | `ONIG_SYN_OP2_QMARK_LPAREN_IF_ELSE` | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1088
|
+
| 22 | `ONIG_SYN_OP2_ESC_CAPITAL_K_KEEP` | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1089
|
+
| 23 | `ONIG_SYN_OP2_ESC_CAPITAL_R_GENERAL_NEWLINE` | Yes | - | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1090
|
+
| 24 | `ONIG_SYN_OP2_ESC_CAPITAL_N_O_SUPER_DOT` | Yes | - | - | Yes | Yes | - | - | - | - | - | - | - |
|
|
1091
|
+
| 25 | `ONIG_SYN_OP2_QMARK_TILDE_ABSENT_GROUP` | Yes | - | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1092
|
+
| 26 | `ONIG_SYN_OP2_ESC_X_Y_TEXT_SEGMENT` | Yes | - | Yes | Yes | Yes | - | - | - | - | - | - | - |
|
|
1093
|
+
| 27 | `ONIG_SYN_OP2_QMARK_PERL_SUBEXP_CALL` | - | - | - | Yes | - | - | - | - | - | - | - | - |
|
|
1094
|
+
| 28 | `ONIG_SYN_OP2_QMARK_BRACE_CALLOUT_CONTENTS` | Yes | - | - | Yes | Yes | - | - | - | - | - | - | - |
|
|
1095
|
+
| 29 | `ONIG_SYN_OP2_ASTERISK_CALLOUT_NAME` | Yes | Yes | - | Yes | Yes | - | - | - | - | - | - | - |
|
|
1096
|
+
| 30 | `ONIG_SYN_OP2_OPTION_ONIGURUMA` | Yes | - | - | - | - | - | - | - | - | - | - | - |
|
|
1097
|
+
| 31 | `ONIG_SYN_OP2_QMARK_CAPITAL_P_NAME` | - | Yes | - | - | - | - | - | - | - | - | - | - |
|
|
1067
1098
|
|
|
1068
1099
|
### Syntax Flags (syn)
|
|
1069
1100
|
|
|
1070
|
-
| ID | Option
|
|
1071
|
-
| ----- |
|
|
1072
|
-
|
|
|
1073
|
-
|
|
|
1074
|
-
|
|
|
1075
|
-
|
|
|
1076
|
-
|
|
|
1077
|
-
|
|
|
1078
|
-
|
|
|
1079
|
-
|
|
|
1080
|
-
|
|
|
1081
|
-
|
|
|
1082
|
-
| 10 | `ONIG_SYN_ISOLATED_OPTION_CONTINUE_BRANCH`
|
|
1083
|
-
| 11 | `ONIG_SYN_VARIABLE_LEN_LOOK_BEHIND`
|
|
1084
|
-
|
|
|
1085
|
-
|
|
|
1086
|
-
|
|
|
1087
|
-
|
|
|
1088
|
-
|
|
|
1089
|
-
|
|
|
1090
|
-
|
|
|
1091
|
-
|
|
|
1101
|
+
| ID | Option | Onig | Pythn | Ruby | PeNG | Perl | Java | Gnu | Grep | Emacs | PosEx | PosB | ASIS |
|
|
1102
|
+
| ----- | ---------------------------------------------------- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- |
|
|
1103
|
+
| 0 | `ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - |
|
|
1104
|
+
| 1 | `ONIG_SYN_CONTEXT_INVALID_REPEAT_OPS` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - |
|
|
1105
|
+
| 2 | `ONIG_SYN_ALLOW_UNMATCHED_CLOSE_SUBEXP` | - | - | - | - | - | - | - | - | - | Yes | - | - |
|
|
1106
|
+
| 3 | `ONIG_SYN_ALLOW_INVALID_INTERVAL` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - |
|
|
1107
|
+
| 4 | `ONIG_SYN_ALLOW_INTERVAL_LOW_ABBREV` | Yes | Yes | Yes | - | - | - | - | - | - | - | - | - |
|
|
1108
|
+
| 5 | `ONIG_SYN_STRICT_CHECK_BACKREF` | - | - | - | - | - | - | - | - | - | - | - | - |
|
|
1109
|
+
| 6 | `ONIG_SYN_DIFFERENT_LEN_ALT_LOOK_BEHIND` | Yes | - | Yes | - | - | Yes | - | - | - | - | - | - |
|
|
1110
|
+
| 7 | `ONIG_SYN_CAPTURE_ONLY_NAMED_GROUP` | Yes | - | Yes | Yes | - | - | - | - | - | - | - | - |
|
|
1111
|
+
| 8 | `ONIG_SYN_ALLOW_MULTIPLEX_DEFINITION_NAME` | Yes | - | Yes | Yes | - | - | - | - | - | - | - | - |
|
|
1112
|
+
| 9 | `ONIG_SYN_FIXED_INTERVAL_IS_GREEDY_ONLY` | Yes | - | Yes | - | - | - | - | - | - | - | - | - |
|
|
1113
|
+
| 10 | `ONIG_SYN_ISOLATED_OPTION_CONTINUE_BRANCH` | - | Yes | - | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1114
|
+
| 11 | `ONIG_SYN_VARIABLE_LEN_LOOK_BEHIND` | Yes | - | - | - | - | Yes | - | - | - | - | - | - |
|
|
1115
|
+
| 12 | `ONIG_SYN_PYTHON` | - | Yes | - | - | - | - | - | - | - | - | - | - |
|
|
1116
|
+
| 13 | `ONIG_SYN_WHOLE_OPTIONS` | Yes | - | - | - | - | - | - | - | - | - | - | - |
|
|
1117
|
+
| 14 | `ONIG_SYN_BRE_ANCHOR_AT_EDGE_OF_SUBEXP` | - | - | - | - | - | - | - | Yes | - | - | Yes | - |
|
|
1118
|
+
| 20 | `ONIG_SYN_NOT_NEWLINE_IN_NEGATIVE_CC` | - | - | - | - | - | - | - | Yes | - | - | - | - |
|
|
1119
|
+
| 21 | `ONIG_SYN_BACKSLASH_ESCAPE_IN_CC` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | - | - | - |
|
|
1120
|
+
| 22 | `ONIG_SYN_ALLOW_EMPTY_RANGE_IN_CC` | - | - | - | - | - | - | - | Yes | Yes | - | - | - |
|
|
1121
|
+
| 23 | `ONIG_SYN_ALLOW_DOUBLE_RANGE_OP_IN_CC` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - |
|
|
1122
|
+
| 24 | `ONIG_SYN_WARN_CC_OP_NOT_ESCAPED` | Yes | - | Yes | - | - | - | - | - | - | - | - | - |
|
|
1123
|
+
| 25 | `ONIG_SYN_WARN_REDUNDANT_NESTED_REPEAT` | Yes | - | Yes | - | - | - | - | - | - | - | - | - |
|
|
1124
|
+
| 26 | `ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE_IN_CC` | Yes | - | - | - | - | - | - | - | - | - | - | - |
|
|
1125
|
+
| 27 | `ONIG_SYN_ALLOW_CHAR_TYPE_FOLLOWED_BY_MINUS_IN_CC` | - | - | - | Yes | Yes | Yes | - | - | - | - | - | - |
|
|
1126
|
+
| 31 | `ONIG_SYN_CONTEXT_INDEP_ANCHORS` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | - | - | Yes | - | - |
|