├── .editorconfig
├── .gitattributes
├── .github
└── workflows
│ └── build.yml
├── .gitignore
├── LICENCE
├── README.md
├── icon-dark.png
├── icon.png
└── src
├── CMakeLists.txt
├── Directory.Build.props
├── Directory.Build.targets
├── NuGetReadme.md
├── PCRE.NET.Benchmarks
├── AllocationTest.cs
├── AutoCalloutBenchmark.cs
├── Configs.cs
├── HelloGoodbyeBenchmark.cs
├── MemoryBenchmark.cs
├── PCRE.NET.Benchmarks.csproj
├── Program.cs
├── RegexReduxBenchmark.Data.cs
├── RegexReduxBenchmark.IsMatch.cs
└── RegexReduxBenchmark.Matches.cs
├── PCRE.NET.Native
├── PCRE.NET.Native.vcxproj
├── PCRE.NET.Native.vcxproj.filters
├── pcre2config.h
├── pcrenet.h
├── pcrenet_compile.c
├── pcrenet_convert.c
├── pcrenet_info.c
├── pcrenet_match.c
└── pcrenet_substitute.c
├── PCRE.NET.Tests.Integration
├── .gitignore
├── IntegrationTests.cs
├── PCRE.NET.Tests.Integration.csproj
├── nuget.config
└── nuget
│ └── .dir
├── PCRE.NET.Tests
├── ManualTests.cs
├── PCRE.NET.Tests.csproj
├── Pcre
│ ├── ExpectedGroup.cs
│ ├── ExpectedMatch.cs
│ ├── ExpectedResult.cs
│ ├── PcreTests.cs
│ ├── RunnerTests.cs
│ ├── StringExtensions.cs
│ ├── TestCase.cs
│ ├── TestFileReader.cs
│ ├── TestInput.cs
│ ├── TestInputReader.cs
│ ├── TestOutput.cs
│ ├── TestOutputReader.cs
│ └── TestPattern.cs
├── PcreNet
│ ├── Conversion
│ │ └── PcreConvertTests.cs
│ ├── Dfa
│ │ ├── DfaMatchTests.cs
│ │ └── DfaMatchesTests.cs
│ ├── DocumentationTests.cs
│ ├── IsMatchTests.cs
│ ├── MatchTests.cs
│ ├── MatchesTests.cs
│ ├── PcreBuildInfoTests.cs
│ ├── PcreErrorCodeTests.cs
│ ├── PcreMatchBufferTests.cs
│ ├── PcrePatternInfoTests.cs
│ ├── PcreRefMatchTests.cs
│ ├── PcreRegexTests.cs
│ ├── PlatformTests.cs
│ ├── ReplaceTests.cs
│ ├── SplitTests.cs
│ ├── SubstituteTests.cs
│ └── Support
│ │ ├── PriorityCacheTests.cs
│ │ └── RegexKeyTests.cs
└── Support
│ └── Extensions.cs
├── PCRE.NET.sln
├── PCRE.NET.sln.DotSettings
├── PCRE.NET.snk
├── PCRE.NET
├── Conversion
│ ├── PcreConvert.cs
│ └── PcreGlobConversionOptions.cs
├── Dfa
│ ├── PcreDfaMatch.cs
│ ├── PcreDfaMatchOptions.cs
│ ├── PcreDfaMatchResult.cs
│ ├── PcreDfaMatchSettings.cs
│ └── PcreDfaRegex.Match.cs
├── FodyWeavers.xml
├── FodyWeavers.xsd
├── IPcreGroup.cs
├── IPcreGroupList.cs
├── Internal
│ ├── Caches.cs
│ ├── CalloutInterop.cs
│ ├── InternalRegex.cs
│ ├── Native.Generated.cs
│ ├── Native.Generated.tt
│ ├── Native.cs
│ ├── NullableAttributes.cs
│ ├── PcreConstants.cs
│ ├── PcreConstants.tt
│ ├── PcreEnumExtensions.cs
│ ├── PriorityCache.cs
│ ├── RegexKey.cs
│ ├── ReplacementPattern.cs
│ └── SkipLocalsInitAttribute.cs
├── PCRE.NET.csproj
├── PCRE.NET.targets
├── PcreBackslashR.cs
├── PcreBuildInfo.cs
├── PcreCallout.cs
├── PcreCalloutInfo.cs
├── PcreCalloutResult.cs
├── PcreErrorCode.cs
├── PcreException.cs
├── PcreExtraCompileOptions.cs
├── PcreGroup.cs
├── PcreJitCompileOptions.cs
├── PcreJitStack.cs
├── PcreMatch.cs
├── PcreMatchBuffer.cs
├── PcreMatchOptions.cs
├── PcreMatchSettings.cs
├── PcreNewLine.cs
├── PcreOptimizationDirective.cs
├── PcreOptions.cs
├── PcrePatternInfo.cs
├── PcreRefCallout.cs
├── PcreRefGroup.cs
├── PcreRefMatch.cs
├── PcreRegex.Match.cs
├── PcreRegex.Replace.cs
├── PcreRegex.Split.cs
├── PcreRegex.Substitute.cs
├── PcreRegex.cs
├── PcreRegex.xml
├── PcreRegexSettings.cs
├── PcreSplitOptions.cs
├── PcreSubstituteCallout.cs
├── PcreSubstituteCalloutResult.cs
├── PcreSubstituteCase.cs
├── PcreSubstituteOptions.cs
└── Properties
│ └── AssemblyInfo.cs
├── PCRE
├── AUTHORS.md
├── BUILD.bazel
├── CMakeLists.txt
├── COPYING
├── ChangeLog
├── HACKING
├── INSTALL
├── LICENCE.md
├── MODULE.bazel
├── Makefile.am
├── Makefile.in
├── NEWS
├── NON-AUTOTOOLS-BUILD
├── README
├── RunGrepTest
├── RunGrepTest.bat
├── RunTest
├── RunTest.bat
├── SECURITY.md
├── WORKSPACE.bazel
├── aclocal.m4
├── ar-lib
├── build.zig
├── cmake
│ ├── COPYING-CMAKE-SCRIPTS
│ ├── FindEditline.cmake
│ ├── FindReadline.cmake
│ ├── pcre2-config-version.cmake.in
│ └── pcre2-config.cmake.in
├── compile
├── config-cmake.h.in
├── config.guess
├── config.sub
├── configure
├── configure.ac
├── depcomp
├── deps
│ └── sljit
│ │ └── sljit_src
│ │ ├── allocator_src
│ │ ├── sljitExecAllocatorApple.c
│ │ ├── sljitExecAllocatorCore.c
│ │ ├── sljitExecAllocatorFreeBSD.c
│ │ ├── sljitExecAllocatorPosix.c
│ │ ├── sljitExecAllocatorWindows.c
│ │ ├── sljitProtExecAllocatorNetBSD.c
│ │ ├── sljitProtExecAllocatorPosix.c
│ │ ├── sljitWXExecAllocatorPosix.c
│ │ └── sljitWXExecAllocatorWindows.c
│ │ ├── sljitConfig.h
│ │ ├── sljitConfigCPU.h
│ │ ├── sljitConfigInternal.h
│ │ ├── sljitLir.c
│ │ ├── sljitLir.h
│ │ ├── sljitNativeARM_32.c
│ │ ├── sljitNativeARM_64.c
│ │ ├── sljitNativeARM_T2_32.c
│ │ ├── sljitNativeLOONGARCH_64.c
│ │ ├── sljitNativeMIPS_32.c
│ │ ├── sljitNativeMIPS_64.c
│ │ ├── sljitNativeMIPS_common.c
│ │ ├── sljitNativePPC_32.c
│ │ ├── sljitNativePPC_64.c
│ │ ├── sljitNativePPC_common.c
│ │ ├── sljitNativeRISCV_32.c
│ │ ├── sljitNativeRISCV_64.c
│ │ ├── sljitNativeRISCV_common.c
│ │ ├── sljitNativeS390X.c
│ │ ├── sljitNativeX86_32.c
│ │ ├── sljitNativeX86_64.c
│ │ ├── sljitNativeX86_common.c
│ │ ├── sljitSerialize.c
│ │ └── sljitUtils.c
├── doc
│ ├── html
│ │ ├── NON-AUTOTOOLS-BUILD.txt
│ │ ├── README.txt
│ │ ├── index.html
│ │ ├── pcre2-config.html
│ │ ├── pcre2.html
│ │ ├── pcre2_callout_enumerate.html
│ │ ├── pcre2_code_copy.html
│ │ ├── pcre2_code_copy_with_tables.html
│ │ ├── pcre2_code_free.html
│ │ ├── pcre2_compile.html
│ │ ├── pcre2_compile_context_copy.html
│ │ ├── pcre2_compile_context_create.html
│ │ ├── pcre2_compile_context_free.html
│ │ ├── pcre2_config.html
│ │ ├── pcre2_convert_context_copy.html
│ │ ├── pcre2_convert_context_create.html
│ │ ├── pcre2_convert_context_free.html
│ │ ├── pcre2_converted_pattern_free.html
│ │ ├── pcre2_dfa_match.html
│ │ ├── pcre2_general_context_copy.html
│ │ ├── pcre2_general_context_create.html
│ │ ├── pcre2_general_context_free.html
│ │ ├── pcre2_get_error_message.html
│ │ ├── pcre2_get_mark.html
│ │ ├── pcre2_get_match_data_heapframes_size.html
│ │ ├── pcre2_get_match_data_size.html
│ │ ├── pcre2_get_ovector_count.html
│ │ ├── pcre2_get_ovector_pointer.html
│ │ ├── pcre2_get_startchar.html
│ │ ├── pcre2_jit_compile.html
│ │ ├── pcre2_jit_free_unused_memory.html
│ │ ├── pcre2_jit_match.html
│ │ ├── pcre2_jit_stack_assign.html
│ │ ├── pcre2_jit_stack_create.html
│ │ ├── pcre2_jit_stack_free.html
│ │ ├── pcre2_maketables.html
│ │ ├── pcre2_maketables_free.html
│ │ ├── pcre2_match.html
│ │ ├── pcre2_match_context_copy.html
│ │ ├── pcre2_match_context_create.html
│ │ ├── pcre2_match_context_free.html
│ │ ├── pcre2_match_data_create.html
│ │ ├── pcre2_match_data_create_from_pattern.html
│ │ ├── pcre2_match_data_free.html
│ │ ├── pcre2_pattern_convert.html
│ │ ├── pcre2_pattern_info.html
│ │ ├── pcre2_serialize_decode.html
│ │ ├── pcre2_serialize_encode.html
│ │ ├── pcre2_serialize_free.html
│ │ ├── pcre2_serialize_get_number_of_codes.html
│ │ ├── pcre2_set_bsr.html
│ │ ├── pcre2_set_callout.html
│ │ ├── pcre2_set_character_tables.html
│ │ ├── pcre2_set_compile_extra_options.html
│ │ ├── pcre2_set_compile_recursion_guard.html
│ │ ├── pcre2_set_depth_limit.html
│ │ ├── pcre2_set_glob_escape.html
│ │ ├── pcre2_set_glob_separator.html
│ │ ├── pcre2_set_heap_limit.html
│ │ ├── pcre2_set_match_limit.html
│ │ ├── pcre2_set_max_pattern_compiled_length.html
│ │ ├── pcre2_set_max_pattern_length.html
│ │ ├── pcre2_set_max_varlookbehind.html
│ │ ├── pcre2_set_newline.html
│ │ ├── pcre2_set_offset_limit.html
│ │ ├── pcre2_set_optimize.html
│ │ ├── pcre2_set_parens_nest_limit.html
│ │ ├── pcre2_set_recursion_limit.html
│ │ ├── pcre2_set_recursion_memory_management.html
│ │ ├── pcre2_set_substitute_callout.html
│ │ ├── pcre2_set_substitute_case_callout.html
│ │ ├── pcre2_substitute.html
│ │ ├── pcre2_substring_copy_byname.html
│ │ ├── pcre2_substring_copy_bynumber.html
│ │ ├── pcre2_substring_free.html
│ │ ├── pcre2_substring_get_byname.html
│ │ ├── pcre2_substring_get_bynumber.html
│ │ ├── pcre2_substring_length_byname.html
│ │ ├── pcre2_substring_length_bynumber.html
│ │ ├── pcre2_substring_list_free.html
│ │ ├── pcre2_substring_list_get.html
│ │ ├── pcre2_substring_nametable_scan.html
│ │ ├── pcre2_substring_number_from_name.html
│ │ ├── pcre2api.html
│ │ ├── pcre2build.html
│ │ ├── pcre2callout.html
│ │ ├── pcre2compat.html
│ │ ├── pcre2convert.html
│ │ ├── pcre2demo.html
│ │ ├── pcre2grep.html
│ │ ├── pcre2jit.html
│ │ ├── pcre2limits.html
│ │ ├── pcre2matching.html
│ │ ├── pcre2partial.html
│ │ ├── pcre2pattern.html
│ │ ├── pcre2perform.html
│ │ ├── pcre2posix.html
│ │ ├── pcre2sample.html
│ │ ├── pcre2serialize.html
│ │ ├── pcre2syntax.html
│ │ ├── pcre2test.html
│ │ └── pcre2unicode.html
│ ├── pcre2-config.1
│ ├── pcre2-config.txt
│ ├── pcre2.3
│ ├── pcre2.txt
│ ├── pcre2_callout_enumerate.3
│ ├── pcre2_code_copy.3
│ ├── pcre2_code_copy_with_tables.3
│ ├── pcre2_code_free.3
│ ├── pcre2_compile.3
│ ├── pcre2_compile_context_copy.3
│ ├── pcre2_compile_context_create.3
│ ├── pcre2_compile_context_free.3
│ ├── pcre2_config.3
│ ├── pcre2_convert_context_copy.3
│ ├── pcre2_convert_context_create.3
│ ├── pcre2_convert_context_free.3
│ ├── pcre2_converted_pattern_free.3
│ ├── pcre2_dfa_match.3
│ ├── pcre2_general_context_copy.3
│ ├── pcre2_general_context_create.3
│ ├── pcre2_general_context_free.3
│ ├── pcre2_get_error_message.3
│ ├── pcre2_get_mark.3
│ ├── pcre2_get_match_data_heapframes_size.3
│ ├── pcre2_get_match_data_size.3
│ ├── pcre2_get_ovector_count.3
│ ├── pcre2_get_ovector_pointer.3
│ ├── pcre2_get_startchar.3
│ ├── pcre2_jit_compile.3
│ ├── pcre2_jit_free_unused_memory.3
│ ├── pcre2_jit_match.3
│ ├── pcre2_jit_stack_assign.3
│ ├── pcre2_jit_stack_create.3
│ ├── pcre2_jit_stack_free.3
│ ├── pcre2_maketables.3
│ ├── pcre2_maketables_free.3
│ ├── pcre2_match.3
│ ├── pcre2_match_context_copy.3
│ ├── pcre2_match_context_create.3
│ ├── pcre2_match_context_free.3
│ ├── pcre2_match_data_create.3
│ ├── pcre2_match_data_create_from_pattern.3
│ ├── pcre2_match_data_free.3
│ ├── pcre2_pattern_convert.3
│ ├── pcre2_pattern_info.3
│ ├── pcre2_serialize_decode.3
│ ├── pcre2_serialize_encode.3
│ ├── pcre2_serialize_free.3
│ ├── pcre2_serialize_get_number_of_codes.3
│ ├── pcre2_set_bsr.3
│ ├── pcre2_set_callout.3
│ ├── pcre2_set_character_tables.3
│ ├── pcre2_set_compile_extra_options.3
│ ├── pcre2_set_compile_recursion_guard.3
│ ├── pcre2_set_depth_limit.3
│ ├── pcre2_set_glob_escape.3
│ ├── pcre2_set_glob_separator.3
│ ├── pcre2_set_heap_limit.3
│ ├── pcre2_set_match_limit.3
│ ├── pcre2_set_max_pattern_compiled_length.3
│ ├── pcre2_set_max_pattern_length.3
│ ├── pcre2_set_max_varlookbehind.3
│ ├── pcre2_set_newline.3
│ ├── pcre2_set_offset_limit.3
│ ├── pcre2_set_optimize.3
│ ├── pcre2_set_parens_nest_limit.3
│ ├── pcre2_set_recursion_limit.3
│ ├── pcre2_set_recursion_memory_management.3
│ ├── pcre2_set_substitute_callout.3
│ ├── pcre2_set_substitute_case_callout.3
│ ├── pcre2_substitute.3
│ ├── pcre2_substring_copy_byname.3
│ ├── pcre2_substring_copy_bynumber.3
│ ├── pcre2_substring_free.3
│ ├── pcre2_substring_get_byname.3
│ ├── pcre2_substring_get_bynumber.3
│ ├── pcre2_substring_length_byname.3
│ ├── pcre2_substring_length_bynumber.3
│ ├── pcre2_substring_list_free.3
│ ├── pcre2_substring_list_get.3
│ ├── pcre2_substring_nametable_scan.3
│ ├── pcre2_substring_number_from_name.3
│ ├── pcre2api.3
│ ├── pcre2build.3
│ ├── pcre2callout.3
│ ├── pcre2compat.3
│ ├── pcre2convert.3
│ ├── pcre2demo.3
│ ├── pcre2grep.1
│ ├── pcre2grep.txt
│ ├── pcre2jit.3
│ ├── pcre2limits.3
│ ├── pcre2matching.3
│ ├── pcre2partial.3
│ ├── pcre2pattern.3
│ ├── pcre2perform.3
│ ├── pcre2posix.3
│ ├── pcre2sample.3
│ ├── pcre2serialize.3
│ ├── pcre2syntax.3
│ ├── pcre2test.1
│ ├── pcre2test.txt
│ └── pcre2unicode.3
├── install-sh
├── libpcre2-16.pc.in
├── libpcre2-32.pc.in
├── libpcre2-8.pc.in
├── libpcre2-posix.pc.in
├── ltmain.sh
├── m4
│ ├── ax_pthread.m4
│ ├── libtool.m4
│ ├── ltoptions.m4
│ ├── ltsugar.m4
│ ├── ltversion.m4
│ ├── lt~obsolete.m4
│ └── pcre2_visibility.m4
├── missing
├── pcre2-config.in
├── perltest.sh
├── src
│ ├── config.h
│ ├── config.h.generic
│ ├── config.h.in
│ ├── pcre2.h
│ ├── pcre2.h.generic
│ ├── pcre2.h.in
│ ├── pcre2_auto_possess.c
│ ├── pcre2_chartables.c
│ ├── pcre2_chartables.c.dist
│ ├── pcre2_chkdint.c
│ ├── pcre2_compile.c
│ ├── pcre2_compile.h
│ ├── pcre2_compile_class.c
│ ├── pcre2_config.c
│ ├── pcre2_context.c
│ ├── pcre2_convert.c
│ ├── pcre2_dfa_match.c
│ ├── pcre2_dftables.c
│ ├── pcre2_error.c
│ ├── pcre2_extuni.c
│ ├── pcre2_find_bracket.c
│ ├── pcre2_fuzzsupport.c
│ ├── pcre2_internal.h
│ ├── pcre2_intmodedep.h
│ ├── pcre2_jit_char_inc.h
│ ├── pcre2_jit_compile.c
│ ├── pcre2_jit_match.c
│ ├── pcre2_jit_misc.c
│ ├── pcre2_jit_neon_inc.h
│ ├── pcre2_jit_simd_inc.h
│ ├── pcre2_jit_test.c
│ ├── pcre2_maketables.c
│ ├── pcre2_match.c
│ ├── pcre2_match_data.c
│ ├── pcre2_newline.c
│ ├── pcre2_ord2utf.c
│ ├── pcre2_pattern_info.c
│ ├── pcre2_printint.c
│ ├── pcre2_script_run.c
│ ├── pcre2_serialize.c
│ ├── pcre2_string_utils.c
│ ├── pcre2_study.c
│ ├── pcre2_substitute.c
│ ├── pcre2_substring.c
│ ├── pcre2_tables.c
│ ├── pcre2_ucd.c
│ ├── pcre2_ucp.h
│ ├── pcre2_ucptables.c
│ ├── pcre2_util.h
│ ├── pcre2_valid_utf.c
│ ├── pcre2_xclass.c
│ ├── pcre2demo.c
│ ├── pcre2grep.c
│ ├── pcre2posix.c
│ ├── pcre2posix.h
│ ├── pcre2posix_test.c
│ └── pcre2test.c
├── test-driver
├── testdata
│ ├── grepbinary
│ ├── grepfilelist
│ ├── grepinput
│ ├── grepinput3
│ ├── grepinput8
│ ├── grepinputBad8
│ ├── grepinputBad8_Trail
│ ├── grepinputC.bz2
│ ├── grepinputC.gz
│ ├── grepinputM
│ ├── grepinputUN
│ ├── grepinputv
│ ├── grepinputx
│ ├── greplist
│ ├── grepnot.bz2
│ ├── grepoutput
│ ├── grepoutput8
│ ├── grepoutputC
│ ├── grepoutputCN
│ ├── grepoutputCNU
│ ├── grepoutputCU
│ ├── grepoutputCbz2
│ ├── grepoutputCgz
│ ├── grepoutputN
│ ├── grepoutputUN
│ ├── greppatN4
│ ├── testbtables
│ ├── testinput1
│ ├── testinput10
│ ├── testinput11
│ ├── testinput12
│ ├── testinput13
│ ├── testinput14
│ ├── testinput15
│ ├── testinput16
│ ├── testinput17
│ ├── testinput18
│ ├── testinput19
│ ├── testinput2
│ ├── testinput20
│ ├── testinput21
│ ├── testinput22
│ ├── testinput23
│ ├── testinput24
│ ├── testinput25
│ ├── testinput26
│ ├── testinput27
│ ├── testinput3
│ ├── testinput4
│ ├── testinput5
│ ├── testinput6
│ ├── testinput7
│ ├── testinput8
│ ├── testinput9
│ ├── testinputEBC
│ ├── testinputheap
│ ├── testoutput1
│ ├── testoutput10
│ ├── testoutput11-16
│ ├── testoutput11-32
│ ├── testoutput12-16
│ ├── testoutput12-32
│ ├── testoutput13
│ ├── testoutput14-16
│ ├── testoutput14-32
│ ├── testoutput14-8
│ ├── testoutput15
│ ├── testoutput16
│ ├── testoutput17
│ ├── testoutput18
│ ├── testoutput19
│ ├── testoutput2
│ ├── testoutput20
│ ├── testoutput21
│ ├── testoutput22-16
│ ├── testoutput22-32
│ ├── testoutput22-8
│ ├── testoutput23
│ ├── testoutput24
│ ├── testoutput25
│ ├── testoutput26
│ ├── testoutput27
│ ├── testoutput3
│ ├── testoutput3A
│ ├── testoutput3B
│ ├── testoutput4
│ ├── testoutput5
│ ├── testoutput6
│ ├── testoutput7
│ ├── testoutput8-16-2
│ ├── testoutput8-16-3
│ ├── testoutput8-16-4
│ ├── testoutput8-32-2
│ ├── testoutput8-32-3
│ ├── testoutput8-32-4
│ ├── testoutput8-8-2
│ ├── testoutput8-8-3
│ ├── testoutput8-8-4
│ ├── testoutput9
│ ├── testoutputEBC
│ ├── testoutputheap-16
│ ├── testoutputheap-32
│ ├── testoutputheap-8
│ ├── valgrind-jit.supp
│ ├── wintestinput3
│ └── wintestoutput3
└── vms
│ ├── configure.com
│ ├── openvms_readme.txt
│ ├── pcre2.h_patch
│ └── stdint.h
└── update-pcre2.sh
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.sh eol=lf
3 |
4 | # GitHub Linguist
5 | src/PCRE/** linguist-vendored
6 | src/PCRE/doc/** linguist-documentation
7 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | bin/
3 | obj/
4 | Debug/
5 | Release/
6 | ipch/
7 | .vs/
8 | .idea/
9 | BenchmarkDotNet.Artifacts/
10 | cmake-*
11 | local-*
12 |
13 | /src/packages/*/
14 | /build/output
15 | /build/tools/tools
16 | /lib
17 |
18 | *.suo
19 | *.user
20 | *.sdf
21 | *.opensdf
22 | *.opendb
23 | *.VC.db
24 | *.aps
25 | *.binlog
26 | Thumbs.db
27 | launchSettings.json
28 |
--------------------------------------------------------------------------------
/icon-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ltrzesniewski/pcre-net/2ac946f3d633fbb278545948611bf3872460d94e/icon-dark.png
--------------------------------------------------------------------------------
/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ltrzesniewski/pcre-net/2ac946f3d633fbb278545948611bf3872460d94e/icon.png
--------------------------------------------------------------------------------
/src/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_code *pcre2_code_copy(const pcre2_code *code);
23 |
28 | This function makes a copy of the memory used for a compiled pattern, excluding
29 | any memory used by the JIT compiler. Without a subsequent call to
30 | pcre2_jit_compile(), the copy can be used only for non-JIT matching. The
31 | pointer to the character tables is copied, not the tables themselves (see
32 | pcre2_code_copy_with_tables()). The yield of the function is NULL if
33 | code is NULL or if sufficient memory cannot be obtained.
34 |
36 | There is a complete description of the PCRE2 native API in the
37 | pcre2api
38 | page and a description of the POSIX API in the
39 | pcre2posix
40 | page.
41 |
42 | Return to the PCRE2 index page.
43 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_code *pcre2_code_copy_with_tables(const pcre2_code *code);
23 |
28 | This function makes a copy of the memory used for a compiled pattern, excluding
29 | any memory used by the JIT compiler. Without a subsequent call to
30 | pcre2_jit_compile(), the copy can be used only for non-JIT matching.
31 | Unlike pcre2_code_copy(), a separate copy of the character tables is also
32 | made, with the new code pointing to it. This memory will be automatically freed
33 | when pcre2_code_free() is called. The yield of the function is NULL if
34 | code is NULL or if sufficient memory cannot be obtained.
35 |
37 | There is a complete description of the PCRE2 native API in the
38 | pcre2api
39 | page and a description of the POSIX API in the
40 | pcre2posix
41 | page.
42 |
43 | Return to the PCRE2 index page.
44 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_code_free(pcre2_code *code);
23 |
28 | If code is NULL, this function does nothing. Otherwise, code must
29 | point to a compiled pattern. This function frees its memory, including any
30 | memory used by the JIT compiler. If the compiled pattern was created by a call
31 | to pcre2_code_copy_with_tables(), the memory for the character tables is
32 | also freed.
33 |
35 | There is a complete description of the PCRE2 native API in the
36 | pcre2api
37 | page and a description of the POSIX API in the
38 | pcre2posix
39 | page.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_compile_context *pcre2_compile_context_copy(
23 | pcre2_compile_context *ccontext);
24 |
29 | This function makes a new copy of a compile context, using the memory
30 | allocation function that was used for the original context. The result is NULL
31 | if the memory cannot be obtained.
32 |
34 | There is a complete description of the PCRE2 native API in the
35 | pcre2api
36 | page and a description of the POSIX API in the
37 | pcre2posix
38 | page.
39 |
40 | Return to the PCRE2 index page.
41 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_compile_context *pcre2_compile_context_create(
23 | pcre2_general_context *gcontext);
24 |
29 | This function creates and initializes a new compile context. If its argument is
30 | NULL, malloc() is used to get the necessary memory; otherwise the memory
31 | allocation function within the general context is used. The result is NULL if
32 | the memory could not be obtained.
33 |
35 | There is a complete description of the PCRE2 native API in the
36 | pcre2api
37 | page and a description of the POSIX API in the
38 | pcre2posix
39 | page.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_compile_context_free(pcre2_compile_context *ccontext);
23 |
28 | This function frees the memory occupied by a compile context, using the memory
29 | freeing function from the general context with which it was created, or
30 | free() if that was not set. If the argument is NULL, the function returns
31 | immediately without doing anything.
32 |
34 | There is a complete description of the PCRE2 native API in the
35 | pcre2api
36 | page and a description of the POSIX API in the
37 | pcre2posix
38 | page.
39 |
40 | Return to the PCRE2 index page.
41 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_convert_context *pcre2_convert_context_copy(
23 | pcre2_convert_context *cvcontext);
24 |
29 | This function is part of an experimental set of pattern conversion functions.
30 | It makes a new copy of a convert context, using the memory allocation function
31 | that was used for the original context. The result is NULL if the memory cannot
32 | be obtained.
33 |
35 | The pattern conversion functions are described in the
36 | pcre2convert
37 | documentation.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_convert_context *pcre2_convert_context_create(
23 | pcre2_general_context *gcontext);
24 |
29 | This function is part of an experimental set of pattern conversion functions.
30 | It creates and initializes a new convert context. If its argument is
31 | NULL, malloc() is used to get the necessary memory; otherwise the memory
32 | allocation function within the general context is used. The result is NULL if
33 | the memory could not be obtained.
34 |
36 | The pattern conversion functions are described in the
37 | pcre2convert
38 | documentation.
39 |
40 | Return to the PCRE2 index page.
41 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_convert_context_free(pcre2_convert_context *cvcontext);
23 |
28 | This function is part of an experimental set of pattern conversion functions.
29 | It frees the memory occupied by a convert context, using the memory
30 | freeing function from the general context with which it was created, or
31 | free() if that was not set. If the argument is NULL, the function returns
32 | immediately without doing anything.
33 |
35 | The pattern conversion functions are described in the
36 | pcre2convert
37 | documentation.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_converted_pattern_free(PCRE2_UCHAR *converted_pattern);
23 |
28 | This function is part of an experimental set of pattern conversion functions.
29 | It frees the memory occupied by a converted pattern that was obtained by
30 | calling pcre2_pattern_convert() with arguments that caused it to place
31 | the converted pattern into newly obtained heap memory. If the argument is NULL,
32 | the function returns immediately without doing anything.
33 |
35 | The pattern conversion functions are described in the
36 | pcre2convert
37 | documentation.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_general_context *pcre2_general_context_copy(
23 | pcre2_general_context *gcontext);
24 |
29 | This function makes a new copy of a general context, using the memory
30 | allocation functions in the context, if set, to get the necessary memory.
31 | Otherwise malloc() is used. The result is NULL if the memory cannot be
32 | obtained.
33 |
35 | There is a complete description of the PCRE2 native API in the
36 | pcre2api
37 | page and a description of the POSIX API in the
38 | pcre2posix
39 | page.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_general_context *pcre2_general_context_create(
23 | void *(*private_malloc)(size_t, void *),
24 | void (*private_free)(void *, void *), void *memory_data);
25 |
30 | This function creates and initializes a general context. The arguments define
31 | custom memory management functions and a data value that is passed to them when
32 | they are called. The private_malloc() function is used to get memory for
33 | the context. If either of the first two arguments is NULL, the system memory
34 | management function is used. The result is NULL if no memory could be obtained.
35 |
37 | There is a complete description of the PCRE2 native API in the
38 | pcre2api
39 | page and a description of the POSIX API in the
40 | pcre2posix
41 | page.
42 |
43 | Return to the PCRE2 index page.
44 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_general_context_free(pcre2_general_context *gcontext);
23 |
28 | This function frees the memory occupied by a general context, using the memory
29 | freeing function within the context, if set. If the argument is NULL, the
30 | function returns immediately without doing anything.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | PCRE2_SIZE pcre2_get_match_data_heapframes_size(
23 | pcre2_match_data *match_data);
24 |
29 | This function returns the size, in bytes, of the heapframes data block that is
30 | owned by its argument.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | PCRE2_SIZE pcre2_get_match_data_size(pcre2_match_data *match_data);
23 |
28 | This function returns the size, in bytes, of the match data block that is its
29 | argument.
30 |
32 | There is a complete description of the PCRE2 native API in the
33 | pcre2api
34 | page and a description of the POSIX API in the
35 | pcre2posix
36 | page.
37 |
38 | Return to the PCRE2 index page.
39 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | uint32_t pcre2_get_ovector_count(pcre2_match_data *match_data);
23 |
28 | This function returns the number of pairs of offsets in the ovector that forms
29 | part of the given match data block.
30 |
32 | There is a complete description of the PCRE2 native API in the
33 | pcre2api
34 | page and a description of the POSIX API in the
35 | pcre2posix
36 | page.
37 |
38 | Return to the PCRE2 index page.
39 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | PCRE2_SIZE *pcre2_get_ovector_pointer(pcre2_match_data *match_data);
23 |
28 | This function returns a pointer to the vector of offsets that forms part of the
29 | given match data block. The number of pairs can be found by calling
30 | pcre2_get_ovector_count().
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | PCRE2_SIZE pcre2_get_startchar(pcre2_match_data *match_data);
23 |
28 | After a successful call of pcre2_match() that was passed the match block
29 | that is this function's argument, this function returns the code unit offset of
30 | the character at which the successful match started. For a non-partial match,
31 | this can be different to the value of ovector[0] if the pattern contains
32 | the \K escape sequence. After a partial match, however, this value is always
33 | the same as ovector[0] because \K does not affect the result of a
34 | partial match.
35 |
37 | There is a complete description of the PCRE2 native API in the
38 | pcre2api
39 | page and a description of the POSIX API in the
40 | pcre2posix
41 | page.
42 |
43 | Return to the PCRE2 index page.
44 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_jit_free_unused_memory(pcre2_general_context *gcontext);
23 |
28 | This function frees unused JIT executable memory. The argument is a general
29 | context, for custom memory management, or NULL for standard memory management.
30 | JIT memory allocation retains some memory in order to improve future JIT
31 | compilation speed. In low memory conditions,
32 | pcre2_jit_free_unused_memory() can be used to cause this memory to be
33 | freed.
34 |
36 | There is a complete description of the PCRE2 native API in the
37 | pcre2api
38 | page and a description of the POSIX API in the
39 | pcre2posix
40 | page.
41 |
42 | Return to the PCRE2 index page.
43 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_jit_stack_free(pcre2_jit_stack *jit_stack);
23 |
28 | This function is used to free a JIT stack that was created by
29 | pcre2_jit_stack_create() when it is no longer needed. If the argument is
30 | NULL, the function returns immediately without doing anything. For more
31 | details, see the
32 | pcre2jit
33 | page.
34 |
36 | There is a complete description of the PCRE2 native API in the
37 | pcre2api
38 | page and a description of the POSIX API in the
39 | pcre2posix
40 | page.
41 |
42 | Return to the PCRE2 index page.
43 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_maketables_free(pcre2_general_context *gcontext,
23 | const uint8_t *tables);
24 |
29 | This function discards a set of character tables that were created by a call
30 | to
31 | pcre2_maketables().
32 |
34 | The gcontext parameter should match what was used in that call to
35 | account for any custom allocators that might be in use; if it is NULL
36 | the system free() is used.
37 |
39 | There is a complete description of the PCRE2 native API in the
40 | pcre2api
41 | page.
42 |
43 | Return to the PCRE2 index page.
44 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_match_context *pcre2_match_context_copy(
23 | pcre2_match_context *mcontext);
24 |
29 | This function makes a new copy of a match context, using the memory
30 | allocation function that was used for the original context. The result is NULL
31 | if the memory cannot be obtained.
32 |
34 | There is a complete description of the PCRE2 native API in the
35 | pcre2api
36 | page and a description of the POSIX API in the
37 | pcre2posix
38 | page.
39 |
40 | Return to the PCRE2 index page.
41 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | pcre2_match_context *pcre2_match_context_create(
23 | pcre2_general_context *gcontext);
24 |
29 | This function creates and initializes a new match context. If its argument is
30 | NULL, malloc() is used to get the necessary memory; otherwise the memory
31 | allocation function within the general context is used. The result is NULL if
32 | the memory could not be obtained.
33 |
35 | There is a complete description of the PCRE2 native API in the
36 | pcre2api
37 | page and a description of the POSIX API in the
38 | pcre2posix
39 | page.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_match_context_free(pcre2_match_context *mcontext);
23 |
28 | This function frees the memory occupied by a match context, using the memory
29 | freeing function from the general context with which it was created, or
30 | free() if that was not set. If the argument is NULL, the function returns
31 | immediately without doing anything.
32 |
34 | There is a complete description of the PCRE2 native API in the
35 | pcre2api
36 | page and a description of the POSIX API in the
37 | pcre2posix
38 | page.
39 |
40 | Return to the PCRE2 index page.
41 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_serialize_free(uint8_t *bytes);
23 |
28 | This function frees the memory that was obtained by
29 | pcre2_serialize_encode() to hold a serialized byte stream. The argument
30 | must point to such a byte stream or be NULL, in which case the function returns
31 | without doing anything.
32 |
34 | There is a complete description of the PCRE2 native API in the
35 | pcre2api
36 | page and a description of the serialization functions in the
37 | pcre2serialize
38 | page.
39 |
40 | Return to the PCRE2 index page.
41 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_bsr(pcre2_compile_context *ccontext,
23 | uint32_t value);
24 |
29 | This function sets the convention for processing \R within a compile context.
30 | The second argument must be one of PCRE2_BSR_ANYCRLF or PCRE2_BSR_UNICODE. The
31 | result is zero for success or PCRE2_ERROR_BADDATA if the second argument is
32 | invalid.
33 |
35 | There is a complete description of the PCRE2 native API in the
36 | pcre2api
37 | page and a description of the POSIX API in the
38 | pcre2posix
39 | page.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_callout(pcre2_match_context *mcontext,
23 | int (*callout_function)(pcre2_callout_block *),
24 | void *callout_data);
25 |
30 | This function sets the callout fields in a match context (the first argument).
31 | The second argument specifies a callout function, and the third argument is an
32 | opaque data item that is passed to it. The result of this function is always
33 | zero.
34 |
36 | There is a complete description of the PCRE2 native API in the
37 | pcre2api
38 | page and a description of the POSIX API in the
39 | pcre2posix
40 | page.
41 |
42 | Return to the PCRE2 index page.
43 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_character_tables(pcre2_compile_context *ccontext,
23 | const uint8_t *tables);
24 |
29 | This function sets a pointer to custom character tables within a compile
30 | context. The second argument must point to a set of PCRE2 character tables or
31 | be NULL to request the default tables. The result is always zero. Character
32 | tables can be created by calling pcre2_maketables() or by running the
33 | pcre2_dftables maintenance command in binary mode (see the
34 | pcre2build
35 | documentation).
36 |
38 | There is a complete description of the PCRE2 native API in the
39 | pcre2api
40 | page and a description of the POSIX API in the
41 | pcre2posix
42 | page.
43 |
44 | Return to the PCRE2 index page.
45 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_depth_limit(pcre2_match_context *mcontext,
23 | uint32_t value);
24 |
29 | This function sets the backtracking depth limit field in a match context. The
30 | result is always zero.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_glob_escape(pcre2_convert_context *cvcontext,
23 | uint32_t escape_char);
24 |
29 | This function is part of an experimental set of pattern conversion functions.
30 | It sets the escape character that is used when converting globs. The second
31 | argument must either be zero (meaning there is no escape character) or a
32 | punctuation character whose code point is less than 256. The default is grave
33 | accent if running under Windows, otherwise backslash. The result of the
34 | function is zero for success or PCRE2_ERROR_BADDATA if the second argument is
35 | invalid.
36 |
38 | The pattern conversion functions are described in the
39 | pcre2convert
40 | documentation.
41 |
42 | Return to the PCRE2 index page.
43 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_glob_separator(pcre2_convert_context *cvcontext,
23 | uint32_t separator_char);
24 |
29 | This function is part of an experimental set of pattern conversion functions.
30 | It sets the component separator character that is used when converting globs.
31 | The second argument must be one of the characters forward slash, backslash, or
32 | dot. The default is backslash when running under Windows, otherwise forward
33 | slash. The result of the function is zero for success or PCRE2_ERROR_BADDATA if
34 | the second argument is invalid.
35 |
37 | The pattern conversion functions are described in the
38 | pcre2convert
39 | documentation.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_heap_limit(pcre2_match_context *mcontext,
23 | uint32_t value);
24 |
29 | This function sets the backtracking heap limit field in a match context. The
30 | result is always zero.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_match_limit(pcre2_match_context *mcontext,
23 | uint32_t value);
24 |
29 | This function sets the match limit field in a match context. The result is
30 | always zero.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_max_pattern_compiled_length(
23 | pcre2_compile_context *ccontext, PCRE2_SIZE value);
24 |
29 | This function sets, in a compile context, the maximum size (in bytes) for the
30 | memory needed to hold the compiled version of a pattern that is using this
31 | context. The result is always zero. If a pattern that is passed to
32 | pcre2_compile() referencing this context needs more memory, an error is
33 | generated. The default is the largest number that a PCRE2_SIZE variable can
34 | hold, which is effectively unlimited.
35 |
37 | There is a complete description of the PCRE2 native API in the
38 | pcre2api
39 | page and a description of the POSIX API in the
40 | pcre2posix
41 | page.
42 |
43 | Return to the PCRE2 index page.
44 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext,
23 | PCRE2_SIZE value);
24 |
29 | This function sets, in a compile context, the maximum text length (in code
30 | units) of the pattern that can be compiled. The result is always zero. If a
31 | longer pattern is passed to pcre2_compile() there is an immediate error
32 | return. The default is effectively unlimited, being the largest value a
33 | PCRE2_SIZE variable can hold.
34 |
36 | There is a complete description of the PCRE2 native API in the
37 | pcre2api
38 | page and a description of the POSIX API in the
39 | pcre2posix
40 | page.
41 |
42 | Return to the PCRE2 index page.
43 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_max_varlookbehind(pcre2_compile_context *ccontext,
23 | uint32_t value);
24 |
29 | This sets a maximum length for the number of characters matched by a
30 | variable-length lookbehind assertion. The default is set when PCRE2 is built,
31 | with the ultimate default being 255, the same as Perl. Lookbehind assertions
32 | without a bounding length are not supported. The result is always zero.
33 |
35 | There is a complete description of the PCRE2 native API in the
36 | pcre2api
37 | page and a description of the POSIX API in the
38 | pcre2posix
39 | page.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_offset_limit(pcre2_match_context *mcontext,
23 | PCRE2_SIZE value);
24 |
29 | This function sets the offset limit field in a match context. The result is
30 | always zero.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext,
23 | uint32_t value);
24 |
29 | This function sets, in a compile context, the maximum depth of nested
30 | parentheses in a pattern. The result is always zero.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_recursion_limit(pcre2_match_context *mcontext,
23 | uint32_t value);
24 |
29 | This function is obsolete and should not be used in new code. Use
30 | pcre2_set_depth_limit() instead.
31 |
33 | There is a complete description of the PCRE2 native API in the
34 | pcre2api
35 | page and a description of the POSIX API in the
36 | pcre2posix
37 | page.
38 |
39 | Return to the PCRE2 index page.
40 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_recursion_memory_management(
23 | pcre2_match_context *mcontext,
24 | void *(*private_malloc)(size_t, void *),
25 | void (*private_free)(void *, void *), void *memory_data);
26 |
31 | From release 10.30 onwards, this function is obsolete and does nothing. The
32 | result is always zero.
33 |
35 | There is a complete description of the PCRE2 native API in the
36 | pcre2api
37 | page and a description of the POSIX API in the
38 | pcre2posix
39 | page.
40 |
41 | Return to the PCRE2 index page.
42 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_substitute_callout(pcre2_match_context *mcontext,
23 | int (*callout_function)(pcre2_substitute_callout_block *, void *),
24 | void *callout_data);
25 |
30 | This function sets the substitute callout fields in a match context (the first
31 | argument). The second argument specifies a callout function, and the third
32 | argument is an opaque data item that is passed to it. The result of this
33 | function is always zero.
34 |
36 | There is a complete description of the PCRE2 native API in the
37 | pcre2api
38 | page and a description of the POSIX API in the
39 | pcre2posix
40 | page.
41 |
42 | Return to the PCRE2 index page.
43 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_set_substitute_case_callout(pcre2_match_context *mcontext,
23 | PCRE2_SIZE (*callout_function)(PCRE2_SPTR, PCRE2_SIZE,
24 | PCRE2_UCHAR *, PCRE2_SIZE,
25 | int, void *),
26 | void *callout_data);
27 |
32 | This function sets the substitute case callout fields in a match context (the
33 | first argument). The second argument specifies a callout function, and the third
34 | argument is an opaque data item that is passed to it. The result of this
35 | function is always zero.
36 |
38 | There is a complete description of the PCRE2 native API in the
39 | pcre2api
40 | page and a description of the POSIX API in the
41 | pcre2posix
42 | page.
43 |
44 | Return to the PCRE2 index page.
45 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | void pcre2_substring_free(PCRE2_UCHAR *buffer);
23 |
28 | This is a convenience function for freeing the memory obtained by a previous
29 | call to pcre2_substring_get_byname() or
30 | pcre2_substring_get_bynumber(). Its only argument is a pointer to the
31 | string. If the argument is NULL, the function does nothing.
32 |
34 | There is a complete description of the PCRE2 native API in the
35 | pcre2api
36 | page and a description of the POSIX API in the
37 | pcre2posix
38 | page.
39 |
40 | Return to the PCRE2 index page.
41 |
8 | Return to the PCRE2 index page.
9 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
19 | #include <pcre2.h>
20 |
22 | int pcre2_substring_length_byname(pcre2_match_data *match_data,
23 | PCRE2_SPTR name, PCRE2_SIZE *length);
24 |
29 | This function returns the length of a matched substring, identified by name.
30 | The arguments are:
31 | pcre2_code_copy man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_code_copy_with_tables man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_code_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_compile_context_copy man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_compile_context_create man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_compile_context_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_convert_context_copy man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_convert_context_create man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_convert_context_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_converted_pattern_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_general_context_copy man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_general_context_create man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
27 | DESCRIPTION
28 |
29 | pcre2_general_context_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_get_match_data_heapframes_size man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_get_match_data_size man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_get_ovector_count man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_get_ovector_pointer man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_get_startchar man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_jit_free_unused_memory man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_jit_stack_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_maketables_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_match_context_copy man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_match_context_create man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_match_context_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_serialize_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_set_bsr man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_callout man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
27 | DESCRIPTION
28 |
29 | pcre2_set_character_tables man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_depth_limit man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_glob_escape man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_glob_separator man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_heap_limit man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_match_limit man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_max_pattern_compiled_length man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_max_pattern_length man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_max_varlookbehind man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_offset_limit man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_parens_nest_limit man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_recursion_limit man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 | pcre2_set_recursion_memory_management man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
28 | DESCRIPTION
29 |
30 | pcre2_set_substitute_callout man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
27 | DESCRIPTION
28 |
29 | pcre2_set_substitute_case_callout man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
29 | DESCRIPTION
30 |
31 | pcre2_substring_free man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
25 | DESCRIPTION
26 |
27 | pcre2_substring_length_byname man page
7 |
15 |
16 | SYNOPSIS
17 |
18 |
26 | DESCRIPTION
27 |
28 |
32 | match_data The match data block for the match
33 | name The substring name
34 | length Where to return the length
35 |
36 | The yield is zero on success, or an error code if the substring is not found.
37 |
39 | There is a complete description of the PCRE2 native API in the 40 | pcre2api 41 | page and a description of the POSIX API in the 42 | pcre2posix 43 | page. 44 |
45 | Return to the PCRE2 index page. 46 |
47 | -------------------------------------------------------------------------------- /src/PCRE/doc/html/pcre2_substring_list_free.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |8 | Return to the PCRE2 index page. 9 |
10 |
11 | This page is part of the PCRE2 HTML documentation. It was generated
12 | automatically from the original man page. If there is any nonsense in it,
13 | please consult the man page, in case the conversion went wrong.
14 |
15 |
16 | SYNOPSIS
17 |
18 |
19 | #include <pcre2.h> 20 |
21 |22 | void pcre2_substring_list_free(PCRE2_UCHAR **list); 23 |
24 |28 | This is a convenience function for freeing the store obtained by a previous 29 | call to pcre2substring_list_get(). Its only argument is a pointer to 30 | the list of string pointers. If the argument is NULL, the function returns 31 | immediately, without doing anything. 32 |
33 |34 | There is a complete description of the PCRE2 native API in the 35 | pcre2api 36 | page and a description of the POSIX API in the 37 | pcre2posix 38 | page. 39 |
40 | Return to the PCRE2 index page. 41 |
42 | -------------------------------------------------------------------------------- /src/PCRE/doc/pcre2_code_copy.3: -------------------------------------------------------------------------------- 1 | .TH PCRE2_CODE_COPY 3 "22 November 2016" "PCRE2 10.45" 2 | .SH NAME 3 | PCRE2 - Perl-compatible regular expressions (revised API) 4 | .SH SYNOPSIS 5 | .rs 6 | .sp 7 | .B #include