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] New: regular expressions: subexpression capture support


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.


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