in reply to Curious about regex capture in conditional
See Zen and the Art of Match Variables for the dirty details.
blokhead