The documentation should include a warning that this operator does not gracefully handle null values.
The following should be described as a workaround:
To include results with null values:
stringValue == null || stringValue matches 'value1|value2'
To exclude results with null values:
stringValue != null && stringValue matches 'value1|value2'
The documentation should include a warning that this operator does not gracefully handle null values. The following should be described as a workaround:
To include results with null values: stringValue == null || stringValue matches 'value1|value2'
To exclude results with null values: stringValue != null && stringValue matches 'value1|value2'