andgineer / TRegExpr

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

Named groups, look ahead, look behind #176

Closed Alexey-T closed 4 years ago

Alexey-T commented 4 years ago

on finding '(', code makes 4 big blocks for all kinds - normal grp, non-capturing grp, comment, modifier-string. this is ok but hard to read and hard to change later - I need later to add other kinds of groups. [named group; look ahead]. this refactor makes 2 stages

no speed loss