J
jwsacksteder
I'm trying to process through an apache log file and bust up the individual
sections into a list for further processing. There is a regex I got from a
php example that matches an entire line, but obviously, that only returns a
single element list. re.split() doesn't see to be the tool to use. I think I
need to define 'symbolic groups' in the regex to return them as distinct
elements. If someone could provide information or relevent links I would be
most appreciative.
sections into a list for further processing. There is a regex I got from a
php example that matches an entire line, but obviously, that only returns a
single element list. re.split() doesn't see to be the tool to use. I think I
need to define 'symbolic groups' in the regex to return them as distinct
elements. If someone could provide information or relevent links I would be
most appreciative.