unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Regular expression grouping not working?
@ 2020-02-08 19:17 Douglas Lewan
  2020-02-08 19:30 ` Teemu Likonen
  0 siblings, 1 reply; 4+ messages in thread
From: Douglas Lewan @ 2020-02-08 19:17 UTC (permalink / raw)
  To: help-gnu-emacs

I'm writing some code that includes the regular expression \\([^/]+/\\), 
(looking for a path on GNU/Linux) which doesn't match what I expect it 
should.

On the other hand, the regular expression [^/]+/, exactly the regular 
expression within the first, does match.

That seems wrong somehow. Is there something I'm missing?

-- 
,Doug
d.lewan2000@gmail.com
(908) 720 7908

Isn't there a difference between "acquittal" and "exoneration"?




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

end of thread, other threads:[~2020-02-17  0:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-08 19:17 Regular expression grouping not working? Douglas Lewan
2020-02-08 19:30 ` Teemu Likonen
2020-02-08 19:48   ` Douglas Lewan
2020-02-17  0:15     ` Göktuğ Kayaalp

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).