On Tue, 16 Jun 2009, McDonald, Dan wrote:

/\b(?:teens?|girls?|boys?...

doesn't the first ?: negate that whole part of the test?

No, that means "don't capture the match", not "this is optional".

--
 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
-----------------------------------------------------------------------
  ...people who insist that religion is required for morality remind
  me of hoplophobes who insist that I be disarmed because _they're_
  unsafe with a gun.                  -- MarkHB at munchkinwrangler's
-----------------------------------------------------------------------
 2 days until SWMBO's Birthday

Reply via email to