[ https://issues.apache.org/jira/browse/ATLAS-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166867#comment-16166867 ]
Apoorv Naik commented on ATLAS-2118: ------------------------------------ This should be extended for suffix regex matches too. And LIKE operator should match the provided value as is (user will most likely enter a regex for LIKE) > Basic search - Contains clause issues > ------------------------------------- > > Key: ATLAS-2118 > URL: https://issues.apache.org/jira/browse/ATLAS-2118 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.8-incubating, 0.9-incubating, 0.8.1-incubating > Reporter: Apoorv Naik > Assignee: Apoorv Naik > Fix For: 0.8-incubating, 0.9-incubating, 0.8.1-incubating > > Attachments: > 0001-ATLAS-2118-Issues-with-contains-in-Basic-search.patch > > > If the contains clause attribute value contains any of the special regex > chars like > "+", "|", "(", "{", "[", "*", "?", "$", "/", "^" > then the graph query fails with Invalid pattern exception > Solution: Escape all occurrences of the special characters -- This message was sent by Atlassian JIRA (v6.4.14#64029)