Remove use of true for Regexp constructor