@NODES _LINE
@POST
S("hour") = num(N("$text",1));
S("min") = num(N("$text",3));
S("sec") = num(N("$text",5));
if (N(6)) S("am") = strpiece(pnname(N(6)),1,2);
single();
@RULES
_time <-
_xNUM
\:
_xNUM
\:
_xNUM
_xWILD [star match=(_am _pm)]
@@
@POST
S("hour") = num(N("$text",1));
S("min") = num(N("$text",3));
if (N(4)) S("am") = strpiece(pnname(N(4)),1,2);
single();
@RULES
_time <-
_xNUM
\:
_xNUM
_xWILD [star match=(_am _pm)]
@@