unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15197: 24.3.50; Regexp Isearch for character classes
@ 2013-08-27 12:25 Dani Moncayo
  2013-08-27 12:32 ` Nicolas Richard
  0 siblings, 1 reply; 3+ messages in thread
From: Dani Moncayo @ 2013-08-27 12:25 UTC (permalink / raw)
  To: 15197

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

Hi,

[This is the first time I use character classes in Emacs, so my
apologies if this is not an Emacs bug, but a misinterpretation.]

Recipe from "emacs -Q":
  C-M-s [ : a l p h a : ]

I expected to see all letters highlighted [1], but only some of them
are (see attached screenshot).


--- Footnotes ---
[1] I've checked "(elisp) Char Classes".


-- 
Dani Moncayo

[-- Attachment #2: Capture.PNG --]
[-- Type: image/png, Size: 6392 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15197: 24.3.50; Regexp Isearch for character classes
  2013-08-27 12:25 bug#15197: 24.3.50; Regexp Isearch for character classes Dani Moncayo
@ 2013-08-27 12:32 ` Nicolas Richard
  2013-08-27 12:34   ` Dani Moncayo
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Richard @ 2013-08-27 12:32 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 15197

Dani Moncayo <dmoncayo@gmail.com> writes:
> Recipe from "emacs -Q":
>   C-M-s [ : a l p h a : ]

> [1] I've checked "(elisp) Char Classes".

See (info "(elisp) Regexp Special") : character classes work in
alternatives, so you should use [[:alpha:]] instead of just [:alpha:]

hth,

-- 
Nico.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15197: 24.3.50; Regexp Isearch for character classes
  2013-08-27 12:32 ` Nicolas Richard
@ 2013-08-27 12:34   ` Dani Moncayo
  0 siblings, 0 replies; 3+ messages in thread
From: Dani Moncayo @ 2013-08-27 12:34 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: 15197-done

On Tue, Aug 27, 2013 at 2:32 PM, Nicolas Richard
<theonewiththeevillook@yahoo.fr> wrote:
> Dani Moncayo <dmoncayo@gmail.com> writes:
>> Recipe from "emacs -Q":
>>   C-M-s [ : a l p h a : ]
>
>> [1] I've checked "(elisp) Char Classes".
>
> See (info "(elisp) Regexp Special") : character classes work in
> alternatives, so you should use [[:alpha:]] instead of just [:alpha:]

Exactly.  I was just typing that same reply myself.

I'm closing the bug.  Thank you and sorry for the noise.

-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-27 12:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 12:25 bug#15197: 24.3.50; Regexp Isearch for character classes Dani Moncayo
2013-08-27 12:32 ` Nicolas Richard
2013-08-27 12:34   ` Dani Moncayo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).