in reply to String Match Use of $1 Uninitialized

You second regex doesn't have any ()s in it. The $1 is populated from the ()s. Rather than saying RTFM, I'll say R this part of TFM: extracting matches.

-Paul

  • Comment on Re: String Match Use of $1 Uninitialized