external class C_REGEXP




Public


Features
C_REGEXP_compile(string:EXT_OB,ignorecase:EXT_OB):EXT_OB;
**** Gets a string and returns a compiled regular expression or void if the expression had an error.
C_REGEXP_free(regexp:EXT_OB);
**** Removes a precompiled regular expression from memory. Called from finalize as the regexp library might keep internal pointer otherwise.
C_REGEXP_match(regexp,string,beg,ending:EXT_OB);
**** Tries to match the string agains the precompiled regular expression returns the beginning and ending position of the string as (int*) or (-1,-1) if no match found.

The Sather Home Page