-
-
Notifications
You must be signed in to change notification settings - Fork 5
Capture data for all quantifiers #4
Copy link
Copy link
Open
Labels
Description
The most lightweight way (+Speed) implement flag to enable capturing data by default for all quantifiers *?+#
@c ... enabled ...@c ... enabled ... @c ... disabled ...
example:
@c12*5 a?d 34+712005 and 3417- -> $1 - 00
- -> $2 - n
- -> $3 - 1
Alternative
Speed - is most important, because the regex engine much more powerful anyway.
v2:
@c ... @12@c*@7- >12457accessor: $n
v3 (overhead):
@cflag - switch to enable()for capturing@c12(*)7- >12457accessor: $1 - 45- escape
\(\)or(())
Reactions are currently unavailable