Use: mail := (any | mailto)**;
For the answer why, please see chapter four of the manual. Regards, Adrian Eric Brown wrote:
If I have two ORed machines, is there a leaving action I can get when a machine is finally exiting? For example, I believe this is a simplified form of my parser: host = [A-Za-z0-9\-.]+; mailto = (/mailto:/i sender_chars+ '@' (host %mailto_end)) $mailto; mail := (any | mailto)*; The %mailto_end will get executed on every single character of host. I just want it to pick up the last character of host. Is there a way? Cheers, Eric _______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
_______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
