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

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

Re: Numbered regexps throw invalid regex error


From: Andreas Röhler
Subject: Re: Numbered regexps throw invalid regex error
Date: Wed, 25 Jan 2012 18:21:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16

Am 25.01.2012 11:17, schrieb Tom:
  (looking-at "\\(a\\(?1:b\\)\\)")

AFAIU there are serveral errors,

think you can't refer to first match inside itself

here is a working example matching "aba"

(looking-at "\\(a\\)\\(b\\)\\(\\1\\)")aba



reply via email to

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