Created
October 22, 2013 16:46
-
-
Save groman-me/7104015 to your computer and use it in GitHub Desktop.
ruby regexp to parse line of nginx conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(\d+.\d+.\d+.\d+)\s-\s-\s\[(.+)\]\s"GET\s(.+)\s\w+\/.+"\s\d+\s\d+\s"(.+)"\s"(.+)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to parse date in ruby