How to check if a character is a non-word boundary

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-06-02T21:03:20Z Indexed on 2010/06/02 21:14 UTC
Read the original article Hit count: 208

Filed under:
|

In Java regular expression, it has "\B" as a non-word boundary.

http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html

If I have a 'char', how can I check it is a non-word boundary?

Thank you.

© Stack Overflow or respective owner

Related posts about java

Related posts about regex