alainfrisch/sedlex — pull request #10 by whitequark (2014-09-26 10:19:46+00:00)
Title: Use "cookies" from 4.02.1 to make named regexps work in toplevel

Test code (t.ml):
```
#require "sedlex";;

let lid = [%sedlex.regexp? "foo"];;

let lex lexbuf =
match%sedlex lexbuf with
| lid -> true
| _ -> false
;;
```

ocaml