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

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

user image
ändere es mal so:
Code (perl): (dl )
my @values = $string =~ m!\[(?:(\w+?)\s*=\s*(.+?)\s*)+\]!gs;

View full thread RegEx: optionale Matches an Subroutine weitergeben