Description
The library fails to parse a string when one or more address contains the : char.
Example
Parsing the string
John Doe :: Doe Industries <john@doe.com>, Jane Doe :: Doe Industries <jane@doe.com>, jim@doe.com
returns this object:
[
{
"group": [
{
"group": [
{
"address": "john@doe.com",
"name": "Doe Industries"
},
{
"group": [
{
"group": [
{
"address": "jane@doe.com",
"name": "Doe Industries"
},
{
"address": "jim@doe.com",
"name": ""
}
]
}
],
"name": "Jane Doe"
}
]
}
],
"name": "John Doe"
}
]
when it should be
[
{
"address": "john@doe.com",
"name": "John Doe :: Doe Industries"
},
{
"address": "jane@doe.com",
"name": "Jane Doe :: Doe Industries"
},
{
"address": "jim@doe.com",
"name": ""
}
]
Description
The library fails to parse a string when one or more address contains the
:char.Example
Parsing the string
John Doe :: Doe Industries <john@doe.com>, Jane Doe :: Doe Industries <jane@doe.com>, jim@doe.comreturns this object:
[ { "group": [ { "group": [ { "address": "john@doe.com", "name": "Doe Industries" }, { "group": [ { "group": [ { "address": "jane@doe.com", "name": "Doe Industries" }, { "address": "jim@doe.com", "name": "" } ] } ], "name": "Jane Doe" } ] } ], "name": "John Doe" } ]when it should be
[ { "address": "john@doe.com", "name": "John Doe :: Doe Industries" }, { "address": "jane@doe.com", "name": "Jane Doe :: Doe Industries" }, { "address": "jim@doe.com", "name": "" } ]