- or download this
$ perl -Mre=debug -e " $f=q{a??q}; $f =~ m{\Qa??\E}; "
Compiling REx "a\?\?"
Final program:
...
Guessed: match at offset 0
Freeing REx: "a\?\?"
- or download this
$ perl -le " print qr{\Qa??\E}; "
(?^:a\?\?)
- or download this
$ perl -le " print qr'\Qa??\E'; "
(?^:\Qa??\E)
- or download this
$ perl -Mre=debug -e " $f=q{a??q}; $f =~ m'\Qa??\E'; "
Compiling REx "\Qa??\E"
...
Did not find floating substr "E"...
Match rejected by optimizer
Freeing REx: "\Qa??\E"