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: Davis Herring
Subject: Re: Interpretation of a space in regexp isearch?
Date: Tue, 14 Aug 2012 17:45:38 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110717 Lanikai/3.1.11

> I just found out that
> 
>   C-u C-s [a-z]\. [A-Z] 
> 
> matches more than one space character.
> 
> Is this a bug?

It's a feature, but I don't remember how to change it at the moment.
`search-spaces-regexp' is almost it.

> How can I search only one space character?
> 
> Thanks!

Put it in a character class ("[ ]").

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



reply via email to

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