Bot releases are hidden (Show)
Published by ltrzesniewski over 5 years ago
This version adds support for Linux x64 and macOS x64. In all other aspects, it's the same as v0.8.0.
Published by ltrzesniewski over 5 years ago
This is a major rewrite:
netstandard2.0
- it works on the .NET Framework and on .NET Core on Windows.Published by ltrzesniewski about 6 years ago
Published by ltrzesniewski over 6 years ago
PcreOptions
: ExtendedMore
, Literal
, EndAnchored
PcreConvert
class: convert POSIX BRE, POSIX ERE and glob patterns to PCREPcreMatchSettings.JitStack
PcreCallout
: StartMatch
and Backtrack
PcreNewLine.Nul
PcreRegexSettings.ExtraCompileOptions
RecursionLimit
to DepthLimit
PcrePatternInfo
and PcreBuildInfo
Published by ltrzesniewski over 7 years ago
Update to PCRE v10.23
Published by ltrzesniewski almost 8 years ago
PCRE2_ALT_VERBNAMES
, PCRE2_USE_OFFSET_LIMIT
, PCRE2_NO_JIT
PCRE2_INFO_HASBACKSLASHC
pcre2_set_offset_limit
, pcre2_set_max_pattern_length
Published by ltrzesniewski about 9 years ago
foo(?C{hello})bar
)PCRE2_NEVER_BACKSLASH_C
, PCRE2_ALT_CIRCUMFLEX
Published by ltrzesniewski over 9 years ago
Published by ltrzesniewski over 9 years ago
Updated to PCRE version 10.00 (aka PCRE2).
The public API has been refactored to account for the PCRE API changes.
New: Partial matching and single match options.
Breaking change: PcreRegex.Match
will return a PcrePossibleMatch
object on failure, with an IsMatch
property set to false
.
This is necessary for partial matching support and is consistent with .NET's Regex.Match
behavior.
Published by ltrzesniewski almost 10 years ago
(*MARK:foo)
-> match.Mark == "foo"
(?C1)
) through a callback:var regex = new PcreRegex(@"(\d+)(*SKIP)(?C1):\s*(\w+)");
var match = regex.Match(
"1542: not_this, 1764: hello",
data => data.Number == 1
&& int.Parse(data.Match[1].Value) % 42 == 0
? PcreCalloutResult.Pass
: PcreCalloutResult.Fail);
// => match[2].Value == "hello"
Published by ltrzesniewski almost 10 years ago
Initial PCRE.NET release