ammar / regexp_parser

A regular expression parser library for Ruby
MIT License
143 stars 22 forks source link

Provide character- instead of byte-based indices ... #73

Closed jaynetics closed 3 years ago

jaynetics commented 3 years ago

Ragel runs with byte-based indices (ts, te). These are of little value to end-users, so I suggest we keep track of char-based indices and emit those instead.

c.f. #72