andgineer / TRegExpr

Regular expressions (regex), pascal.
https://regex.sorokin.engineer/en/latest/
MIT License
174 stars 63 forks source link

Implement Look around #317

Closed User4martin closed 1 year ago

User4martin commented 1 year ago

-=- (+) Added full look-ahead support. Added full fixed length look-behind support.Added limited variable length look-behind support. -=- (+) Added (?modifier:pattern) support. -=- (+) Added "property AllowBraceWithoutMin" to allow {,2} instead of {0,2}. -=- (+) Added "property AllowLiteralBraceWithoutRange" to allow "{" to be matched as literal, if no range follows.

Fixes:

302

298

Part of #285

Alexey-T commented 1 year ago

Great work! @andgineer Please apply, Martin added tests.

Alexey-T commented 1 year ago

@User4martin Pls fix version to 163

  // TRegExpr.VersionMajor/Minor return values of these constants:
  REVersionMajor = 1;
  REVersionMinor = 160;
Alexey-T commented 1 year ago

@andgineer Lets apply?