On Friday 04 March 2005 17:40, D Richard Felker III wrote: > IMO the solution is to look for the last @ before the first /, instead > of the first @. Escaping should not be necessary here. Then there are the smartasses who want usernames with @ in them.... (I kid you not)