Thread join (//, @buffer): join mit // hängt von Matching ab (16 answers)
Opened by El Ron at 2007-02-07 10:35

sid burn
 2007-02-09 00:46
#74112 #74112
User since
2006-03-29
1520 Artikel
BenutzerIn

user image
[quote=Dubu,08.Feb..2007, 20:12][quote=betterworld,08.02.2007, 16:05]In perlop steht die Sache mit dem leeren Pattern auch beschrieben:
Quote
If the PATTERN evaluates to the empty string, the last success-
fully matched regular expression is used instead. In this case,
only the "g" and "c" flags on the empty pattern is honoured -
the other flags are taken from the original pattern. If no
match has previously succeeded, this will (silently) act
instead as a genuine empty pattern (which will always match).
[/quote]
Ah, danke für die Aufklärung!
Das erklärt, warum gerade dann eine "1" zurück geliefert wird, wenn der Match nicht klappt.[/quote]
Es wird nirgendswo eine 1 zurück geliefert, wenn der match nicht klappt.
Nicht mehr aktiv. Bei Kontakt: ICQ: 404181669 E-Mail: perl@david-raab.de

View full thread join (//, @buffer): join mit // hängt von Matching ab