Hopefully last fixes. I've added the \\(?: ... \\) parens to make sure we capture any potential issue with \|. Is there anything else I've missed ? Jean-Christophe =========================== Add optional regexps for subr-x.el trimming functions * lisp/emacs-lisp/subr-x.el (string-trim-left, string-trim-right, string-trim): add optional regexps that default on the original behavior. ===========================