HB_IsRegExString()
Checks if a character string is a compiled regular expression.
Syntax
HB_IsRegExString( <cString> ) --> lIsRegExComp
Arguments
<cString> is a character string to test
Return
.T. (true) if the passed string is a compiled regular expression, otherwise .F. (false) is returned.
Description
All regular expression functions and operators can process character strings containing literal regular expressions or compiled regular expressions. A literal regular expression can be compiled with HB_RegExComp() to speed up pattern matching. HB_IsRegExString() detects if a character string is a compiled regular expression.
Seealso
HB_RegEx()