You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2016/01/22 16:40:39 UTC

[jira] [Resolved] (AMQ-6137) Special escape characters in LIKE selectors do not work as expected

     [ https://issues.apache.org/jira/browse/AMQ-6137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-6137.
-----------------------------
    Resolution: Fixed

additional tests for using _ and % as escape characters in like expressions. A little unusual but valid

> Special escape characters in LIKE selectors do not work as expected
> -------------------------------------------------------------------
>
>                 Key: AMQ-6137
>                 URL: https://issues.apache.org/jira/browse/AMQ-6137
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Selector
>    Affects Versions: 5.13.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.14.0
>
>
> foo LIKE '%_%' ESCAPE '%'
> should map to regexp:  {code}\\A_.*?{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)