On Thu, 19 May 2011, Rapitharian wrote:

One quick question though:
1) What does the ?: do in  =~/(?:US|CA|FR)/

(xxx) by default remembers the matched text for later use. SA rules can't use remembered matches for anything; adding ?: makes perl not remember what matched, which is a performance improvement.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Vista: because the audio experience is *far* more important than
  network throughput.
-----------------------------------------------------------------------
 161 days since the first successful private orbital launch (SpaceX)

Reply via email to