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

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

RE : matching [^/]


From: Bourgneuf Francois
Subject: RE : matching [^/]
Date: Fri, 9 Jul 2004 11:13:55 +0200

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 : 
> address@hidden
> g 
> [mailto:help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.f
address@hidden De la part de Simon Strobl
> Envoyé : vendredi 9 juillet 2004 10:40
> À : address@hidden
> 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 




reply via email to

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