These are Unicode property shortcuts ( \p{L} for Unicode letters, \p{N} for Unicode digits). They are supported by .NET, Perl, Java, PCRE, XML, XPath, JGSoft, Ruby (1.9 and higher) and PHP ( since 5.1.0 )
Anyway, this is a very strange regular expression. You should not use alternation if a sufficient character class is:
[\p{L}\p{N}_.-]*
Tim Pietzcker Feb 15 '13 at 9:06 2013-02-15 09:06
source share