From: Richard M. Stallman Date: Mon, 7 Jul 2003 21:02:18 +0000 (+0000) Subject: (search-whitespace-regexp): Add a shy group around it. X-Git-Tag: ttn-vms-21-2-B4~9443 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f8e0f51fd59f09da7aaab71e86b9d83db2777fa;p=emacs.git (search-whitespace-regexp): Add a shy group around it. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 754b7cf6fa1..04f8c4464ef 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -151,7 +151,7 @@ string, and RET terminates editing and does a nonincremental search." :type 'boolean :group 'isearch) -(defcustom search-whitespace-regexp "\\s-+" +(defcustom search-whitespace-regexp "\\(?:\\s-+\\)" "*If non-nil, regular expression to match a sequence of whitespace chars. This applies to regular expression incremental search. You might want to use something like \"[ \\t\\r\\n]+\" instead.