Closed GoogleCodeExporter closed 9 years ago
You can modify the configuration of email address pattern(it is a regular
expression)
in WEB-INF/config/jos.xml:
<entry key="email.address.pattern">
<![CDATA[\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*]]>
</entry>
Original comment by zhoushu...@gmail.com
on 23 Jul 2009 at 2:48
yes, that's what i thought too... and mailAddres.matches(cdatastring) returns
true as
well, but it didn't work.
now i replaced the \w with [A-Za-z0-9] and replaced the \. as well
thanks for the fast reply
Original comment by herzoga....@gmail.com
on 24 Jul 2009 at 5:42
the problem is the newlines between entry tag and cdata
writing it in one line, without spaces between, solves the problem:
<entry
key="email.address.pattern"><![CDATA[\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*
]]></entry>
regards
dominik
Original comment by geoelter...@gmail.com
on 10 Sep 2009 at 3:23
Original comment by zhoushu...@gmail.com
on 21 Apr 2010 at 2:57
Original issue reported on code.google.com by
herzoga....@gmail.com
on 23 Jul 2009 at 10:30