in reply to Re^6: Repeated code blocks in long and hairy regexin thread Repeated code blocks in long and hairy regex
... q// and qr// do different things. You might want to read perlop on what they do, especially on qr and q.