On Wed, 23 Jul 2014, Paul Stead wrote:

On 23/07/14 19:54, Amir 'CG' Caspi wrote:

Care to share?  Counting encoded chars is easy, of course.

I use the following to count the encoded chars:

body     __LOC_COUNT_UNI /x[0-9A-F]{4};/
tflags   __LOC_COUNT_UNI multiple

Recommend maxhits on that.

We can make some vars if we want:

meta __LOC_HAS_0_UNI (__PDS_COUNT_UNI == 0)
meta __LOC_HAS_10_UNI (__PDS_COUNT_UNI >= 10)

If you're only looking for 10+ hits, then maxhits=11 will allow you to detect them with the minimum of wasted work.

--
 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
-----------------------------------------------------------------------
  Where are my space habitats? Where is my flying car?
  It's 2010 and all I got from the SF books of my youth
  is the lousy dystopian government.                      -- perlhaqr
-----------------------------------------------------------------------
 783 days since the first successful private support mission to ISS (SpaceX)

Reply via email to