This is the mail archive of the frysk@sourceware.org mailing list for the frysk 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]

Re: Patchlet to convert ferror to use regex when matching -e argument


Phil Muldoon wrote:
Small patch. This converts ferror to pattern match the -e argument over a straight String.contains(). Useful for looking for more complex search queries.


Worked like a charm. I added a test and committed.

swagiaal: ferror patch by pmuldoon for regex support.

    frysk-core/frysk/bindir/ChangeLog
    +2008-03-06  Sami Wagiaalla  <swagiaal@redhat.com>
    +
    +	* TestFerror.java: Added test for regext argument matching.
    +
    +2008-03-06  Phil Muldoon  <pmuldoon@redhat.com>
    +
    +       * ferror.java (main): Update option text.
    +       (parsed): Do not store argument. Compile into pattern.
    +       (updateSyscallEnter): Use Matcher instead of contains.
    +


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