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