[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] cont check regex problems



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