sirthias / parboiled2

A macro-based PEG parser generator for Scala 2.10+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Case insensitive `valueMap`

alexander-myltsev opened this issue · comments

There is a case https://gitter.im/sirthias/parboiled2?at=5a6b6ef46117191e61b80470

@sirthias , do you think it can be solved with the current armory of tools? Or do we need a PR?

One hack could be to override __matchMap and __matchMapWrapped.
But this would of course change all applications of valueMap at once.

If we want to support valueMap as well as a case-insensitive counterpart we'd need an addition to the library I'm afraid.