Skip to content

Instantly share code, notes, and snippets.

@mxey
Created March 12, 2010 09:04
Show Gist options
  • Select an option

  • Save mxey/330178 to your computer and use it in GitHub Desktop.

Select an option

Save mxey/330178 to your computer and use it in GitHub Desktop.
# vim:ft=perl
{
database => ['dbi:SQLite:dbname=irc.sqlite3', '', ''],
patterns => [
[qr/<\s*[@%&~\+]?\s*(?<nick>[^\s]+)>\s*(?<body>.+)$/ => 'message'],
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment