Bot releases are hidden (Show)
PcreRegexSettings
: MaxVarLookbehind
PcreMatchOptions
: DisableRecurseLoopCheck
PcreExtraCompileOptions
: CaselessRestrict
, AsciiBsD
, AsciiBsS
, AsciiBsW
, AsciiPosix
, AsciiDigit
This is also the first version marked as stable, it's about time to be honest.
Published by ltrzesniewski 8 months ago
PcreMatchOptions.DisableRecurseLoopCheck
Published by ltrzesniewski 9 months ago
PcreRegexSettings.MaxVarLookbehind
PcreExtraCompileOptions
: CaselessRestrict
, AsciiBsD
, AsciiBsS
, AsciiBsW
, AsciiPosix
, AsciiDigit
Published by ltrzesniewski almost 2 years ago
Published by ltrzesniewski over 2 years ago
Published by ltrzesniewski almost 3 years ago
CreateMatchBuffer()
)PcreMatchBuffer
disposable and finalizablePcreMatchBuffer
Published by ltrzesniewski almost 3 years ago
ValueSpan
property to string-based matches and groupsPublished by ltrzesniewski about 3 years ago
PcreRegex.CreateMatchBuffer
method lets you create a buffer which can then be used for matching operations without performing any further allocations.PcreMatchSettings
: StartIndex
, AdditionalOptions
, SetCallout
. These options now need to be provided directly to the Match
/Matches
methods. PcreMatchSettings
now only contains advanced settings.PcreRefMatch.Copy()
method introduced in v0.17.0-pre1. PcreRefMatch
can now be copied normally like any struct, and won't be overwritten unless it's created by the zero-allocation API.Published by ltrzesniewski about 3 years ago
PcreExtraCompileOptions.AllowLookaroundBsK
to enable \K
support in lookaroundsPcreRefMatch.Copy()
method to create a copy of a ref match that will not be overwrittenPublished by ltrzesniewski over 3 years ago
Published by ltrzesniewski almost 4 years ago
GroupNames
property in the pattern info (#24)match[invalidIndex]
and match[invalidName]
won't return null
anymore, but an "undefined" groupIsDefined
property to PcreGroup
and PcreRefGroup
to tell if a group index or name is definedTryGetGroup
methods to PcreMatch
and PcreRefMatch
to tell if a group index or name is definedPcreRefGroup
consistent with those returned by PcreGroup
when a group did not matchPublished by ltrzesniewski almost 4 years ago
Published by ltrzesniewski about 4 years ago
Published by ltrzesniewski over 4 years ago
Published by ltrzesniewski over 4 years ago
ReadOnlySpan<char>
inputs, based on ref struct
types. These APIs will cause substantially less heap allocations.IsMatch
instance method no longer allocates on the heap if there are few capturing groups in the pattern.Published by ltrzesniewski almost 5 years ago
PcreOptions.MatchInvalidUtf
Published by ltrzesniewski about 5 years ago
Published by ltrzesniewski over 5 years ago
$n
in replacement strings from working when placed at the end of the pattern.Published by ltrzesniewski over 5 years ago
PcreExtraCompileOptions
: EscapedCrIsLf
, AltBsUX
PcreRegexSettings.JitCompileOptions
PartialSoft
and PartialHard
JIT compilation options can now be specified separatelyInvalidUtf
JIT compilation optionPcreMatchOptions
: CopyMatchedSubject
(should not be useful in .NET unless you unsafe-modify strings)