From: Colin P. A. <co...@co...> - 2007-02-03 18:42:22
|
Does anyone know the details of the regular expression syntax matched by class RX_PCRE_REGULAR_EXPRESSION? It's baffling me. For instance, the following regular expression: ^[abc]*$ fails to compile, but ^[abc]* compiles OK. I don't have great hopes of trying to get this to compile: ^[\i-[:]][\c-[:]]*$ (that's XPath regular expression syntax, derived from XML Schema - \i and \c are all initial name characters and all name characters respectively.) No doubt it could be done, but without understanding what is supposed to be accepted in the first place, it's a daunting task. -- Colin Adams Preston Lancashire |