Hi,
I am trying to split up the re pattern for Apache log file format and seem
to be having some trouble in getting Python to understand multi-line
pattern:
#!/usr/bin/python
import re
#this is a single line
string = '192.168.122.3 - - [29/Sep/2013:03:52:33 -0700] "GET / HTTP/1.0"
302 276 "-" "
Hi,
I need some help in expanding a hostrange as in: h[1-100].domain.com should
get expanded into a list containing h1.domain.com to h100.domain.com. Is
there a library that can do this for me? I also need to valid the range
before I expand it, i.e., h[1*100].domain.com should not be accept, or
ot