in reply to Problem with regex wildcard operator (.)...?
G'day sbrothy,
I suggest you take a look at Regexp::Debugger. That will allow you to step through the matching process and see exactly what is going on.
— Ken