HB_IsRegExString

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()

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s