regexpMatch
boolean regexpMatch(
string s,
string regexp)
s | The name of an event field containing a string. |
regexp | A string containing a UNIX regular expression. |
Returns true if the event field with the name specified by s matches the UNIX regular expression regexp, otherwise false is returned.
Important:
This function does not support the X/Open regular expression specification. Unicode characters and strings are also not supported by this function.