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