This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: Patchlet to convert ferror to use regex when matching -e argument
- From: Sami Wagiaalla <swagiaal at redhat dot com>
- To: Phil Muldoon <pmuldoon at redhat dot com>
- Cc: Frysk Hackers <frysk at sourceware dot org>
- Date: Thu, 06 Mar 2008 17:08:06 -0500
- Subject: Re: Patchlet to convert ferror to use regex when matching -e argument
- References: <47D0257D.9080505@redhat.com>
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.
+