Skip to content

filters: syntax for regexp requires quoting #1233

@stevvooe

Description

@stevvooe

Currently, we allow using a value as a regexp. Unfortunately, the delimiter for values, ,, overlaps with some regexp syntax, requiring quoting in certain instances.

Let's move to having a beginning delimiter that properly quotes values in a regexp with having to do full string quotes:

foo~=/<regexp>/

This should allow changing the quote character:

foo~=|<regexp>|

This can avoid cases where one needs to match on slashes. Obviously, we would also continue to support quoting for the heavy lifting cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions