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

topeg
 2007-09-26 22:54
#100037 #100037
User since
2006-07-10
2611 Artikel
BenutzerIn

user image
Na dann halt so. :-)
Code (perl): (dl )
my @values = map{split(/\s+(?=\w+$)/,$_)}split(/\s*=\s*/, ($string =~ m!\[(.+?)\]!s)[0]);

View full thread RegEx: optionale Matches an Subroutine weitergeben