Thanks for looking into it further - for the time being I am going to revert the previous change, however I have added this to my to-do list. Making changes to the regex routine can have tricky side-effects, so I would like any new changes to be tested longer before making it into a final release.