From: "Bourgneuf Francois" <francois.bourgneuf@groupe-mma.fr>
Subject: RE : matching [^/]
Date: Fri, 9 Jul 2004 11:13:55 +0200 [thread overview]
Message-ID: <A07468EA167CFA4991BE113A18229688938127@zw67218c.societe.mma.fr> (raw)
Emacs tells you "2 match(es)" witch means "// VP1zr " matches and "// 1(0)" matches too.
It doesn't match the line as a whole, it matches two different character strings.
Bour9.
> -----Message d'origine-----
> De :
> help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.fr@gnu.or
> g
> [mailto:help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.f
r@gnu.org] De la part de Simon Strobl
> Envoyé : vendredi 9 juillet 2004 10:40
> À : help-gnu-emacs@gnu.org
> Objet : matching [^/]
>
>
> Hello,
>
> suppose a buffer contains the following string and you want to match
> the part "// VP1zr".
>
> // VP1zr // 1(0)
>
> I typed "//[^/]+" into the re-builder. It matched the whole line. I
> could not find an explanation for this behaviour on the Emacs info
> site.
>
> Can someone explain it to me?
>
>
> Simon
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
reply other threads:[~2004-07-09 9:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A07468EA167CFA4991BE113A18229688938127@zw67218c.societe.mma.fr \
--to=francois.bourgneuf@groupe-mma.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).