Simple language support for AND / OR to concat multiple expressions fails if 
string constants are enclosed in single quotation marks
------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-1716
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1716
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.0.0
            Reporter: Oliver Hecker


The current implementation for CAMEL-1637 fails if the string constants in the 
two expressions are enclosed in single quotation marks as given in the 
following example 

{code}
${in.header.foo} == 'abc' and ${in.header.bar} == '123'
{code}

This is due to an issue with the GROUP_PATTERN regular expression in 
SimpleLanguageSupport.java. The matching pattern in between the single quotes 
is greedy and thus does not match correctly.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to