In message <[email protected]>,
Simone Martina writes:
>I got a problem trying to exclude a single MAC address beginning with:
>00:a0:bc from MAC address regexp:
>([0-9a-f]{2}[:-][0-9a-f]{2}[:-][0-9a-f]{2}[:-][0-9a-f]{2}[:-][0-9a-f]{2}[:-]
>[0-9a-f]{2})
>
>Maybe anyone got the same problem and could suggest me a solution...

Rather than excluding the mac address, can you match it in a rule before
this one?

Usually I end up matching specific entries first and then more generic
entries later. Otherwise I think you need to look into the lookahead
operators in your regexp (probably negative lookahead IIRC), but that
will confuse anybody else who isn't experienced in regexps.

--
                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to