regex plea for help

jwsacksteder at ramprecision.com jwsacksteder at ramprecision.com
Fri Jun 27 21:29:18 CEST 2003


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.





More information about the Python-list mailing list