On October 25, 2019 12:22:44 PM GMT+02:00, Maggie Q Roth <rot...@gmail.com> 
wrote:
>Hello
>
>There are two primary types of lines in the log:
>
>60.191.38.xx        /
>42.120.161.xx       /archives/1005
>
>I know how to write regex to match each line, but don't get the good
>result
>with one regex to match both lines.

What is a good result?

The is an re.MULTILINE flag. Did you try that? What does that do?

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to