[erlang-questions] leex and case-insensitive match
Fri Jun 5 09:16:55 CEST 2015
On Fri, Jun 5, 2015 at 3:52 AM, <ok@REDACTED> wrote:
> Are we talking about an SQL dialect here?
Yes, I'm parsing SQL. All keywords are ASCII, while data from the user
might be anything.
> It wouldn't actually be all that hard to make re_parse in
> leex.erl do something with (?i): it's a matter of mapping
> x to (x|X) where the other-case version of a letter is in
> Unicode not necessarily a single codepoint.
Thanks for the tip. I'll have a look.
More information about the erlang-questions