1 |
4ae45b10
|
Ermal Luçi
|
# Biff - new mail notification
|
2 |
66f2dd0e
|
Ermal Lu?i
|
# Pattern attributes: good fast fast undermatch overmatch
|
3 |
4ae45b10
|
Ermal Luçi
|
# Protocol groups: mail
|
4 |
|
|
# Wiki: http://www.protocolinfo.org/wiki/Biff
|
5 |
66f2dd0e
|
Ermal Lu?i
|
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
|
6 |
4ae45b10
|
Ermal Luçi
|
#
|
7 |
|
|
# Usually runs on port 512
|
8 |
|
|
#
|
9 |
|
|
# This pattern is completely untested.
|
10 |
|
|
|
11 |
|
|
biff
|
12 |
|
|
# This is a rare case where we will specify a $ (end of line), since
|
13 |
|
|
# this is the entirety of the communication.
|
14 |
|
|
# something that looks like a username, an @, a number.
|
15 |
|
|
# won't catch usernames that have strange characters in them.
|
16 |
|
|
^[a-z][a-z0-9]+@[1-9][0-9]+$
|