How to make a match for the following? "V c #767676 " /* "0.808" */, "W c #6F6F6F " /* "0.846" */, "X c #696969 " /* "0.885" */, "Y c #626262 " /* "0.923" */, "Z c #5C5C5C " /* "0.962" */, "a c #555555 " /* "1" */, "b c #4E4E4E " /* "1.04" */, "c c #484848 " /* "1.08" */,
I tried the /^\"([[:alpha:])\s+c\s+\#*\s\/\*\"(\d)*\"*/x $dict{$1} = $2; not work, mainly interest the V 0.808 W 0.846 . . . . . . parts, Thanks for any suggestion, Best regards, -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/