Posted: Wed Jan 02, 2008 1:44 am
IIRC they only work within a character class (so inside another []). This works:
Try the RegularExpressionError() if something isn't working as you expect, it is there to tell you why 
btw, PB uses the PCRE library (BSD license). The documentation can be found here: http://www.pcre.org/pcre.txt
Code: Select all
If CreateRegularExpression(0, "[[:alpha:]]")
Debug MatchRegularExpression(0, "a")
Debug MatchRegularExpression(0, "1")
FreeRegularExpression(0)
Else
Debug "Error: " + RegularExpressionError()
EndIf

btw, PB uses the PCRE library (BSD license). The documentation can be found here: http://www.pcre.org/pcre.txt