regexp
Creates an ICU regular expression object.
Target
Signature
1regexp(find::string, replace::string= ?, input::string= ?, ignorecase::boolean= ?)Creates an ICU regular expression object.
regexp constructs or identifies a LaiRu value type. regexp uses the regular-expression surface for pattern matching. Keep patterns small, name the intent in nearby code, and test captures separately from replacement strings.
Parameters
find- Required value of type
string. Supplyfindpositionally unless the signature shows a keyword form. replace- Optional value of type
string. Supplyreplacepositionally unless the signature shows a keyword form. input- Optional value of type
string. Supplyinputpositionally unless the signature shows a keyword form. ignorecase- Optional value of type
boolean. Supplyignorecasepositionally unless the signature shows a keyword form.
Examples
Basic call
1regexp('[A-Z]+')The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.