imapsync/W/Mail-IMAPClient-3.37/lib/Mail/IMAPClient/Thread.grammar
Nick Bebout b7c835d670 1.670
2015-12-03 11:16:32 -06:00

18 lines
303 B
Text

# Atoms:
NUMBER: /\d+/
# Rules:
threadmember: NUMBER { $return = $item{NUMBER} ; } |
thread { $return = $item{thread} ; }
thread: "(" threadmember(s) ")"
{
$return = $item{'threadmember(s)'}||undef;
}
# Start:
start: /^\* THREAD /i thread(s?) {
$return=$item{'thread(s?)'}||undef;
}