27 Aug
2008
27 Aug
'08
2:06 p.m.
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