in reply to problematice metashar regexp
I would look at the docs on quotemeta. It can potentially (and likely will) return two characters for every one input. For example, " will return \". Your mapping functions do not appear to take that possibility into account.
|
|---|