Thread
RegEx: optionale Matches an Subroutine weitergeben
(31 answers)
Opened by
Froschpopo
at
2007-09-25 23:57
topeg
2007-09-26 23:11
User since
2006-07-10
2611 Artikel
BenutzerIn
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