摘要: import re# Validate logs from admd. Have "from" and have comma. It mean both "client IP" and "denied reason" is given by appliance. def validate_re1(): print 'The following test case should succeed: ' regex = 'user\s+\[(\S+)\]\s+from\s+(\d+\.\d+\.\d+\.\d+)\s 阅读全文
posted @ 2012-09-17 16:12 功夫 熊猫 阅读(518) 评论(0) 推荐(0)