[Bug runtime/15065] regular expressions: subexpression capture support
serhei.public at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Sep 8 15:39:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=15065
--- Comment #4 from Serhei Makarov <serhei.public at gmail dot com> ---
Certainly, I can add more documentation this weekend.
There was also some talk of wrapping the matched() tapset functions in a
pseudovariable syntax ("\1" for "matched(1)"), but unfortunately my plate is a
bit too full at the moment to implement it cleanly. Someone else might be able
to get around to implementing it more quickly.
Another bit of sugar that might make sense is a regex literal syntax /regex/.
With the way the current implementation works, this would just be a string
literal, but with slightly different rules for how backslash is parsed, so you
could write /a\(*b/ instead of "a\\(*b".
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list