in reply to Curious about regex capture in conditional

The $1, $2, etc match variables are "scoped" very... curiously ;)

See Zen and the Art of Match Variables for the dirty details.

blokhead

  • Comment on Re: Curious about regex capture in conditional