Lei
2007-06-28 23:58:50 UTC
java String.matches() can match string "<" (only one character) using regex "<", "\074", "[\074]", etc, but if there are other characters in the string, it cannot be matched.
If grep, if using -E switch, "<" can be matched.