in reply to Dot star okay, or not?

I dislike your approach, for a few reasons: For these reasons, it is much better (and faster) to take the two-regex approach shown to you several times already.

japhy -- Perl and Regex Hacker