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

topeg
 2007-09-26 23:11
#100041 #100041
User since
2006-07-10
2611 Artikel
BenutzerIn

user image
so:
Code (perl): (dl )
$string=~s!\[(.+?)\]!parse(map{split(/\s+(?=\w+$)/,$_)}split(/\s*=\s*/,$1))!gse;

View full thread RegEx: optionale Matches an Subroutine weitergeben