emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interpretation of a space in regexp isearch?


From: Dmitry Gutov
Subject: Re: Interpretation of a space in regexp isearch?
Date: Wed, 15 Aug 2012 03:45:35 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0

Bastien <address@hidden> writes:
> I just found out that
>
>   C-u C-s [a-z]\. [A-Z]
>
> matches more than one space character.
>
> Is this a bug?
>
> How can I search only one space character?

The docstring for `isearch-forward-regexp' says:

  In regexp incremental searches, a space or spaces normally matches any
  whitespace (the variable `search-whitespace-regexp' controls precisely
  what that means). If you want to search for a literal space and
  nothing else, enter C-q SPC.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]