Convert the regular expression of the elisp to the regular expression of the grep.