another minor fix to the aforementioned regex