xHarbour Reference Documentation > Function Reference |
Checks if a character string is a compiled regular expression.
HB_IsRegExString( <cString> ) --> lIsRegExComp
The function returns .T. (true) if the passed string is a compiled regular expression, otherwise .F. (false) is returned.
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.
See also: | HAS, HB_RegEx(), HB_RegExComp(), LIKE |
Category: | Regular expressions , xHarbour extensions |
Source: | rtl\regex.c |
http://www.xHarbour.com