Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~100 People Reached
Favorite Forums
Favorite Tags
perl x 1
Member Avatar for shaybery

This regular expresion is not good !!! --------------------- if ($line=/(.*)=(.*)(#+.*)/){ my ($val,$key,$comment)=($1,$2,$3); print "Match line : key($key)=val($val) c($comment) \n"; } --------------------- Example os inputs and the wanted output : a=b #c => key(a)=val(b) c(#c) a=b => key(a)=val(b) c() a="b#" => key(a)=val("b#") c() a="b#"#ff => key(a)=val("b#") c(#ff) a="b"#"#ff => key(a)=val("b") c(#"#ff) …

Member Avatar for mattjmorrison
0
100