You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-dev@jakarta.apache.org by bu...@apache.org on 2007/08/27 15:14:26 UTC
DO NOT REPLY [Bug 43219] New: - :graph: should match any printable & visible characters. It doesn't.
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: jay_schmidgall@yahoo.com
: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: regexp-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-dev-help@jakarta.apache.org