Invalid conversion between elisp and pcre
stettberger opened this issue · 0 comments
stettberger commented
ELISP> (rxt-elisp-to-pcre (rx-to-string '(optional (0+ " "))))
" *?"
ELISP> (rx-to-string '(optional (0+ " ")))
"\\(?:\\(?: *\\)?\\)"
ELISP>
*?
is the non-greedy repeat operator, not the optional + greedy repeat.