jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Stevens <...@latchkey.com>
Subject Re: RE.java bugfix
Date Tue, 22 Aug 2000 16:50:46 GMT
on 8/22/2000 3:24 AM, "Fuller, Robert" <robert.fuller@compaq.com> wrote:

> Hi,
> 
> I stumbled upon a bug in RE.java whereby the casefold match flag is ignored
> for a regular expression containing no special regex characters.  The
> following code identifies the bug.
> 
> if(((new RE(".*fred", RE.MATCH_CASEINDEPENDENT)).match("Fred was
> here"))==true)
> &&
> (((new RE("fred", RE.MATCH_CASEINDEPENDENT)).match("Fred was here"))==false)
> System.err.println("a bug");
> 
> Attached is a patch to correct the problem.
> 
> Best Regards,
> Robert Fuller
> <Robert.Fuller@applepiesolutions.com>
> Galway, Ireland
> 
> <<patchfile.txt>>
> 

Could you please check the code in CVS? I believe this was already
fixed...well, at least your patch doesn't apply cause the code in CVS is
different than what you sent me your patch for.

thanks,

-jon


Mime
View raw message