Xymon Mailing List Archive search

cont check regex problems

list Simeon Berkley
Wed, 27 Aug 2008 10:06:52 -0400
Message-Id: <user-978ca0c8995d@xymon.invalid>

Kimberly McKinnis wrote:
Hmm. Hobbit seems to have not liked the digit range.

Using assetID="[0-9abcdefABCDEF]{8}" is working. I’m not clear **why** Hobbit didn’t like my digit range when perl did, and I’m curious to figure it out, but for now I’m happy that my check works.

 
A handy tool for checking Perl-compatible regexes is pcretest, which is a more direct way of checking since it uses libpcre like hobbit does.


-- 
S i m e o n  B e r k l e y

Systems Engineer
Mcclatchy Interactive