* RE : matching [^/]
@ 2004-07-09 9:13 Bourgneuf Francois
0 siblings, 0 replies; only message in thread
From: Bourgneuf Francois @ 2004-07-09 9:13 UTC (permalink / 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
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-09 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-09 9:13 RE : matching [^/] Bourgneuf Francois
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).