This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/15065] regular expressions: subexpression capture support


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]