CALL "C$REGEXP" USING CREGEXP-COMPILE regExpr [flags] GIVING returnCode |
CREGEXP-COMPILE | Constant | |
regExpr | PIC X(n) | Contains the regular expression to compile. It must be NULL-terminated because trailing spaces are allowed in regular expressions. |
flags | PIC 9(n) | (Optional) if set to 1, enables case insensitive search (IGNORE_CASE flag) |
0 | Operation failed. Call the CREGEXP-LAST-ERROR function for more details. |
>0 | Handle to the compiled regular expression. |