EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
This function checks the input string (second arg) for a match with the regex pattern (first arg). The regex pattern must match the full string. For example, the pattern 'abc' doesn't match the string 'abcd' but the pattern 'abc*' does match that string. We support google RE2 syntax. More details on that syntax can be found here.
boolean representing whether the pattern matched the input or not.
Variable | Type | Description |
---|---|---|
arg1 | STRING | The regex pattern to match. |
arg2 | STRING | The string column to match the pattern against. |
df.is_match = px.regex_match('.*my_regex_pattern.*', df.resp_body)