1,234
edits
Changes
→Successful requests menu
<source>OPS435 Assignment 1 - Fall 2017
Author: Andrew Smith
The source code in this file (check_apache_logcheck_apache_log_yourmysenecaid.py) is original work written
by Andrew Smith and has not been copied from any other source including any
person, textbook, or online resource. I have not shared this work with anyone
You should use the Python <b>re</b> module, look [https://docs.python.org/3/library/re.html here] for documentation. You may use the following regular expression to extract the components from each line:
<source>([(\d\.)]+) - - \[(.*?)\] "(.*?)" (\d+) ((\d+) "(.*?|-)" "(.*?)"</source>
The questions are self-explanatory, provide answers formatted as you see fit.