sabre150 wrote:And if you really did need to escape the dot, you would only have to use one backslash, not two:
Your regex without the / was accepting \ since '.' does not need to be escaped inside a character class. Just remove the \\ .
In Java source code you would have to use two backslashes because one of them gets consumed by the Java compiler. But this is obviously an XML file, so that rule doesn't apply. But, as Sabre pointed out, you don't need a backslash there at all:
<property name="patterns" value="[A-Z0-9\._/]*" />
<property name="patterns" value="[A-Z0-9._/]*" />