Skip to content

Instantly share code, notes, and snippets.

@tyzbit
Created July 4, 2016 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyzbit/c7cdc42dc7143c21a7314d3f2dcebe16 to your computer and use it in GitHub Desktop.
Save tyzbit/c7cdc42dc7143c21a7314d3f2dcebe16 to your computer and use it in GitHub Desktop.
^<W>(?P<timestamp>\d+\-\d+\-\d+\s+\d+:\d+:\d+\.\d+)\s+(?P<server_number>\d+)\s+=>\s+<(?P<connection_number>[^:]+):((?P<user>\w+))?\((?P<userid>[\d\-]+)[^ \n]* (?P<full_message>(.*to (?P<channel>[ \-=\w\#\[\]\{\}\(\)\@\|\'\.]+)\[)?(.*connection: (?P<ipaddress>[0-9\.]+))?(.*version (?P<version>[0-9\.]+))?(.* \((?P<version_full>.*))?.+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment