title: Regex expression matcher in Camel
body: <p>Iam trying to come up with a camel route, where a message will be sent to a jms queue only it if matches a given regex expression..</p>
  
  <p>The route that I have is this:</p>
  
  <pre><code>&lt;route id="testRoute"&gt;
      &lt;from uri="jms:queue:Q.Order1" /&gt;
         &lt;choice&gt;
            &lt;when&gt;
               &lt;simple&gt;${body} regex '\w+.*'&lt;/simple&gt;
               &lt;to uri="jms:queue:Q.Order2"/&gt;                             
            &lt;/when&gt;
         &lt;/choice&gt;        
  &lt;/route&gt;
  </code></pre>
  
  <p>If my msg. is this, it passes the regex just fine:</p>
  
  <pre><code>000000010020140507
  </code></pre>
  
  <p>However, if my msg is this, it fails:</p>
  
  <pre><code>00000001002     REXRYAN 004                                                           
  00000002076006490993999900000
  </code></pre>
  
  <p>Why is the second message failing regex and what needs to be modified in the regex to pass the second message?
  Thanks</p>