Of course you are right about it being an anything but CPU match, I saw CPU in there and assumed it was looking in a very odd way for CPU rather than an egrep efficient match on (?!CPU).
I guess my problem will be innocent litteral characters in the egrep regex that are not special there but that perl interprets as special, such as the {M,N}? where the ? is special in perl and \d, \w etc which egrep knows nothing about. I could just hope the odds are low.
It looks like a non-trivial problem to be sure there is nothing perl regexp-ish that is not egrep regex, anyone know if there is a conversion module/tool already written, I only need do the conversion once everytime the patterns are updated (less than annual event)
Cheers,
R.
In reply to Re^2: differnce between egrep and perl regex ?
by Random_Walk
in thread differnce between egrep and perl regex ?
by Random_Walk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |