in reply to Re: reg-exp problemin thread reg-exp problem
Or you could use the module YAPE::Regex::Explain, which gives you a human readable description of what it matches.