[teiid-issues] [JBoss JIRA] (TEIID-1820) like_regex only matches full string patterns

Steven Hawkins (Resolved) (JIRA) jira-events at lists.jboss.org
Thu Nov 10 11:30:45 EST 2011


     [ https://issues.jboss.org/browse/TEIID-1820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-1820.
-----------------------------------

    Resolution: Done


Changed the match to use Matcher.find and optimized our generated regex from like/similar patterns.
                
> like_regex only matches full string patterns
> --------------------------------------------
>
>                 Key: TEIID-1820
>                 URL: https://issues.jboss.org/browse/TEIID-1820
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 7.5
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 7.6
>
>
> like_regex currently asks the compiled pattern matcher if the pattern matches in full, not for the first occurrence.  This means that a pattern such as 'a' will not match 'cat'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list