Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Allow matching against the end of string #3
In a parser we wrote using Rex we needed to generate and EOF token. Rexical does not allow matching against the end of the string by default. This commit allows matching against the end of string with the matcheos option. If the end of string is not matched, then by default next_token returns nil as if matcheos was not enabled.