in reply to Re: Can I use Q and E to regex match the dollar sign?
in thread Can I use Q and E to regex match the dollar sign?
So, in other words, the OP would have to move the literal $ outside the \Q\E set, like this:
like('asdf$',qr/\Qasdf\E\$/);
The other option, of course, would be something like:
(As ikegami pointed out above)## matches a literal '[a-z]$[0-9]' using quoting like( '[a-z]$[0-9]', quotemeta('[a-z]$[0-9]') );
|
|---|