Thread RegEx: optionale Matches an Subroutine weitergeben (31 answers)
Opened by Froschpopo at 2007-09-25 23:57

esskar
 2007-09-26 08:40
#99997 #99997
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
Code: (dl )
1
2
my @values = $string =~ m!\[(([\w]+)\s*:\s*([\w\d\.]+))+\]!g;
&bild(@values) if scalar @values;


(ungetest)

View full thread RegEx: optionale Matches an Subroutine weitergeben