an empty regex is special
$ perl -e 'print qr//;' (?-xism:) [download]
In reply to Re^3: ref() and Regexp by JadeNB in thread ref() and Regexp by tirwhan