Easypt

matchRegex

..Root.String.matchRegex

Determines if the regular expression matches this string.

Child of:

String

Signatures:

NativeCallable, Callable

Example:

log("aaaa".matchRegex("[a-z]+"));
log("aAaa".matchRegex("[a-z]+"));

Expected output:

true
false