Martin Gainty wrote:
Here is the code
private List<Pattern> includeProperties;
includeProperties is a List of Regular Expression java.util.regex.Patterns
javadoc at
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
try expressing the String as a regex Pattern e.g.
<param name="includeProperties">
[i][t][e][m][s]\p{.}\p{*}\p{\}\p{.}[n][a][m][e]
</param>
"foo" is a valid regular expression. There's no reason to (and at least
two reasons *not* to) make every single character part of a character
set/class, and I can't think of a good reason to match a literal "."
with anything other than "\.", although I could be wrong on that one.
I'm pretty sure something else is amiss.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org