attempted fix for stringification of regexes in Perls of version 5.14+