[ 
https://issues.apache.org/jira/browse/ATLAS-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156952#comment-16156952
 ] 

Graham Wallis commented on ATLAS-2118:
--------------------------------------

Do you also need the right-hand versions of the various bracket/parenthesis 
characters? (i.e. ')', '}' and ']')

> 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)

Reply via email to