This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/15065] New: regular expressions: subexpression capture support
- From: "smakarov at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 25 Jan 2013 19:52:27 +0000
- Subject: [Bug runtime/15065] New: regular expressions: subexpression capture support
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15065
Bug #: 15065
Summary: regular expressions: subexpression capture support
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sourceware.org
ReportedBy: smakarov@redhat.com
Classification: Unclassified
After running a regular expression, the coordinates of matched ()
subexpressions should be saved to the probe-local data. The resulting matched
strings should be extracted using a tapset function written in embedded C e.g.
matched(0), matched(1), &c.
A couple of papers dealing with how to support subexpressions in a DFA are
here:
http://yrx.googlecode.com/files/yrxreg.pdf (yrx)
http://laurikari.net/ville/spire2000-tnfa.pdf
(Each one describes an existing regular expression engine, so there's also
working code to look at in each case.)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.