Please give an example of what you expect $line to contain.
Please show EXACTLY which substring(s) in $line you wish to match.
hippo's approach shown here of using Test::More to show what you expect would be most helpful.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Please correct me in the above regular expression
by AnomalousMonk
in thread Please correct me in the above regular expression
by suvendra123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |