Category:Command Group: Strings - Regular Expression
For a detailed explanation of what a Regular Expression (Regex) is , please visit wikipedia.
In order to adjust the behaviour of the regex commands, certain flags can be set when using them. Flags are specified at the end of the pattern and start with /. Flags need to be lowercase. If there are any non-flag characters in the flags they will be ignored and considered part of the pattern itself.
"I'm a coOkIe clicker" regexMatch ".*cookie.*/gio"// Flag g, i and o are set
|Flag||Description (short)||Description (detailed)|
|g||Global||Only relevant for regexReplace and regexFind. Missing global flag sets format_first_only flag (source) and only replaces first occurrence with regexReplace and only returns first element with regexFind|
|o||Optimize||Optimize pattern, pattern creation is slower, but will execute more efficiently (source)|