http://qs1969.pair.com?node_id=23321


in reply to RE: Quantifiers in regular expressions
in thread Quantifiers in regular expressions

I don't understand this: $string = "<foo>...</foo><bar>...</bar>"; # This matches <foo></bar>, not what we want. $string =~ /\<.*\>(.*)\</.*\>/; How does it match? And I thought that the matching operator was m//, not m///. What does m/// do?