Thread
Warum frißt Regex nicht alles?
(21 answers)
Opened by
bianca
at
2009-11-11 11:32
bianca
2009-11-11 11:32
User since
2009-09-13
7016 Artikel
BenutzerIn
Warum frißt dieser Regex nicht alle Blanks am Ende auf?
Code (perl): (
dl
)
1
2
3
my
$foo
=
'test '
;
$foo
=~
s/ $//g
;
print
"\$foo = >$foo<\n"
;
Code: (
dl
)
$foo = >test <
10 print "Hallo"
20 goto 10
View full thread
Warum frißt Regex nicht alles?