Bob Kleemann

Results 2 comments of Bob Kleemann

As a workaround, I've used another call to Perl to do what I wanted: $ack '\s+'$( perl -e 'print quotemeta shift' "$MYVAR" )'\s+' But that's definitely a hack.

It appears that this might be easier said than done, as `\Q` (and friends) are done at compile time, as mentioned in `perlop`: https://perldoc.perl.org/perlop#Gory-details-of-parsing-quoted-constructs But in the section "parsing regular...