Pretty nice. It could deal with weird java specific stuff like for example \p{javaWhitespace} - it deals with \s by saying it is "any whitespace", but it seems to think \p{javaWhitespace} is a character sequence, rather than an odd java-specific character class.