This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/15065] regular expressions: subexpression capture support
- From: "serhei.public at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 08 Sep 2017 15:39:37 +0000
- Subject: [Bug runtime/15065] regular expressions: subexpression capture support
- Auto-submitted: auto-generated
- References: <bug-15065-6586@http.sourceware.org/bugzilla/>
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.