On March 12, [EMAIL PROTECTED] said: > Hi ! > > I have a small bug in my own code, to which I can see no obvious > solution : > > My father has a From: Field like this : "MOY, Jean-Pierre" > <address@host>. When I make a reply, I have the same To: field. > > My program parses the To: field by splitting it according to commas, > so, it tries to add > > "MOY > > and > > Jean-Pierre" <address@host> > > to the DB, which is not what I want. > > Do you have a solution to parse the string according to commas /not/ > between double-quotes ? > > Thanks !
Check rfc822.el, provided with your copy of (x)emacs since way back when. Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. troc says, "the -> is optional, but it keeps C people's brains from exploding and turning cube farms into biohazard zones" <perl> _______________________________________________ [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/