DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43219>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43219

           Summary: :graph: should match any printable & visible characters.
                    It doesn't.
           Product: Regexp
           Version: unspecified
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: regexp-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


:graph: is supposed to match any printable and visible characters. It doesn't.
Given the program below, I would have expected to see two trues output. Instead
I see false and true.

public class ReTest {
        static public void main( String[] args ) {
                RE re1 = new RE( "^[:graph:][:print:]*$" );
                RE re2 = new RE( "^[:print:][:print:]*$" );
                String s = "John";
                
                System.out.println( re1.match( s ) );
                System.out.println( re2.match( s ) );
        }
}

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to