Regular Expressions (REs) are used to determine if a character string of interest is matched somewhere in a set of character strings. You can specify more than one character string for which you wish to determine if a match exists. The functions in this library use regular expressions in a similar way to the UNIX awk, ed, grep, and egrep commands. The search for a matching sequence starts at the beginning of the string and stops when the first sequence matching the expression is found. The first sequence is the one that begins earliest in the string. If the pattern permits matching several sequences at this starting point, the longest sequence is matched. To use a regular expression, first compile it with rexOpen. You can then use rexMatch to compare the compiled expression to several strings. When you have finished with the expression, use rexClose to free it from memory. Files - KcRexLib.dll
- The implemented functions
- KcRexLib.hss
- External declarations used when loading at runtime
Globals Identifier | Description | rexVersion | Current version of the library | rexOpenExtended rexOpenIgnorecase rexOpenNewline rexOpenNosubreps | Flags used by rexOpen | rexMatchNotbol rexMatchNoteol | Modes for fileOpen | |