You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Tracy Snell (JIRA)" <ji...@apache.org> on 2010/10/06 03:08:41 UTC

[jira] Issue Comment Edited: (CAMEL-3199) Allow : and , inside quoted names for addresses

    [ https://issues.apache.org/activemq/browse/CAMEL-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62377#action_62377 ] 

Tracy Snell edited comment on CAMEL-3199 at 10/5/10 9:07 PM:
-------------------------------------------------------------

Heh, that's exactly what I did. Added it to the test, now just testing with an example to do a final confirmation.

Actually this is the regex I used:

  String[] lines = recipient.split("[,;]++(?=(?:(?:[^\\\"]*+\\\"){2})*+[^\\\"]*+$)");

      was (Author: tjsnell):
    Heh, that's exactly what I did. Added it to the test, now just testing with an example to do a final confirmation.

Actually this is the regex I used:

  String[] lines = recipient.split("[,;]++(?=(?:(?:[^\\\"]*+\\\"){2})*+[^\\\"]*+)");
  
> Allow : and , inside quoted names for addresses
> -----------------------------------------------
>
>                 Key: CAMEL-3199
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3199
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-mail
>            Reporter: Tracy Snell
>            Assignee: Tracy Snell
>            Priority: Minor
>
> "Snell, Tracy" <tj...@juicelabs.com> breaks with the current address parsing.

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