According to the documentation of java.util.Pattern, the POSIX character class \p{Graph}
([:graph:]
in POSIX notation) matches "a visible character: [\p{Alnum}\p{Punct}]
". However, this is limited to ASCII characters only. Is there an equivalent class or expression for matching (visible) Unicode characters?
views:
126answers:
1According to the Unicode Regular Expressions standard, this expression means "anything other than a separator and a control character." http://www.unicode.org/reports/tr18/#Categories
Hosam Aly
2009-09-09 14:45:36
Yep. And if it ain't one of them, it's visible.
Jeremy Stein
2009-09-09 15:40:33