help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Why does this happen in regexp isearch?


From: Andreas Politz
Subject: Re: Why does this happen in regexp isearch?
Date: Wed, 08 Dec 2010 15:17:09 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:

> I open cus-edit.el.gz in Emacs and do a regexp isearch for:
>
> ^  ;;
>
> (Beginning of line, then two spaces, then two semicolons.)
>
> For some reason that I don't understand, it seems to match "beginning
> of line, any number of spaces OR tabs, then two semicolons". When I
> search for:
>
> ^ \{2\};;
>
> ...it finds what I'm looking for. Why is this?

(setq search-spaces-regexp nil)

, or read it's documentation.

-ap


reply via email to

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