Skip to content

Apostrophe in function strcontains does not match #33

@morelgeorge

Description

@morelgeorge

Hello,
while I am writing some custom rules I found a possible issue with strcontains function.
For instance I would like to match all the objects with exactly following string:
'Arial'

So I put this value into strcontains function as a regex match pattern. Unfortunately strcontains does not match any string that contains apostrophe character. I tried to escape it but without any luck. Once I get rid of the apostrophe character then it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions