[racket] proposed minor docfix for parser-tools/lex ?

From: John Clements (clements at brinckerhoff.org)
Date: Wed May 1 12:29:24 EDT 2013

On May 1, 2013, at 9:14 AM, John Clements wrote:

> Based on my experiments, it appears that parser-tools/lex picks the rule with the longest match, breaking ties in favor of the rule appearing first. As far as I can tell, this fact is not documented in the lexer manual. It says:
> 
> "Produces a function that takes an input-port, matches the re’s against the buffer, and returns the result of executing the corresponding action-expr."
> 
> Here's the text of my proposed commit. Unless I see a comment to the contrary, I'll commit this later today or tomorrow.

... where, by "later today", I mean... uh... before this e-mail actually got sent. Ah well.

John



Posted on the users mailing list.