On Wed, 6 Feb 2013, Martin Gregorie wrote:

body       HSHCH     /[\xC0-\xCB\xCD-\xDB\xDF-\xFB]?/
body       HSTCH     /[\x30-\x39\x41-\x5A\x61-\x7A\x80-\xFF]?/

Why the question marks? They make the character optional, which in this case makes the *entire RE* optional, which is a bad idea, especially if it's a multiple-match rule.

--
 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
-----------------------------------------------------------------------
  ...we talk about creating "millions of shovel-ready jobs" for a
  society that doesn't really encourage people to pick up a shovel.
                             -- Mike Rowe, testifying before Congress
-----------------------------------------------------------------------
 6 days until Abraham Lincoln's and Charles Darwin's 204th Birthdays

Reply via email to