Hi,
I usually use /x to document any complex (or yet to be complexified) RE and use
Regexp::Common for common base patterns in a bottom-up building scheme.
Agrred, this is not debugging per se but this kind of preemptive job actually saves a lot of subsequent (and sometimes painful) debugging.
Cheers,
Xavier