all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.