or download this
use YAPE::Regex::Explain;
$u= qr/(:?URL="([^"]*)")?/is; # optional clause (:?xxx)?
...
----------------------------------------------------------------------
) end of grouping
----------------------------------------------------------------------