bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/26166] New: Matcher.find mis-behaviour


From: overholt at redhat dot com
Subject: [Bug classpath/26166] New: Matcher.find mis-behaviour
Date: 7 Feb 2006 21:53:03 -0000

Eclipse's "hippie completion" (similar to word completion in vim or Emacs) does
not work in Fedora due to a bug in our regular expression code.  I believe this
is a GNU Classpath regex issue.  I have made a test case (soon to be attached).

javac TestHippieRegex.java
java TestHippieRegex

With the Sun JVM, I get the following:

++++++++++++++ trying fFindReplaceMatcher.find(100)
fFindReplaceMatcher.pattern().pattern() =
[\p{L}[\p{Mn}[\p{Pc}[\p{Nd}[\p{Nl}[\p{Sc}]]]]]]+
++++++++++++++ found =  true

but with gij (Fedora rawhide's 4.1.0-0.20), I get:

++++++++++++++ trying fFindReplaceMatcher.find(100)
fFindReplaceMatcher.pattern().pattern() =
[\p{L}[\p{Mn}[\p{Pc}[\p{Nd}[\p{Nl}[\p{Sc}]]]]]]+
++++++++++++++ found =  false

I'm investigating this because of
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178648


-- 
           Summary: Matcher.find mis-behaviour
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: overholt at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26166





reply via email to

[Prev in Thread] Current Thread [Next in Thread]