or download this
use YAPE::Regex::Explain;
print YAPE::Regex::Explain ->new(
qr/([^http.*?\s+]\S{30})/
...
----------------------------------------------------------------------
) end of grouping
----------------------------------------------------------------------