LuKreme wrote:

> $ sudo bzgrep -e "AppleVNCServer\[[0-9]+\]:" /var/log/secure.log.0.bz2 

grep doesn't use python regular expressions, they are similar, but in
fact grep uses 3 kinds of regular expressions: basic, extended, and
perl.  Anyway \d in python regex is defined as [0-9] for ASCII, and
anything with the digit property in UNICODE.

Ref: http://docs.python.org/library/re.html
-- 
René Berber


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to