Thread RegEx: optionale Matches an Subroutine weitergeben
(31 answers)
Opened by Froschpopo at 2007-09-25 23:57
Na dann halt so. :-)
Code (perl): (dl
)
my @values = map{split(/\s+(?=\w+$)/,$_)}split(/\s*=\s*/, ($string =~ m!\[(.+?)\]!s)[0]); |