jecki / DHParser

DSL-Toolkit for Digital Humanities Applications (mirrors gitlab.lrz.de/badw-it/DHParser)
Apache License 2.0
6 stars 1 forks source link

regular expr. is unexpectedly case insensitive #9

Closed ritzlae closed 2 years ago

ritzlae commented 2 years ago

The following parser matches 'i': _EE_EXT = /[A-Z]/

as the debug message shows: Last match: 3, 24: _document->_EE_EXT; MATCH; "i";

ritzlae commented 2 years ago

Okay, my fault. In my ebnf-file case-sensitivity was falsely set: @ ignorecase = True

it should be: @ ignorecase = False

Now everything works as expected.