Sometimes you have a programming problem
and it seems like the best solution is
to use regular expressions;
now you have two problems.
(David Mertz)