BioJulia / Automa.jl

A julia code generator for regular expressions
Other
188 stars 15 forks source link

Bug with regex set negation #105

Closed jakobnissen closed 2 years ago

jakobnissen commented 2 years ago

The following expression: m = Automa.compile(!re"[\x01-\xff]") Produces the following SVG foo

Which is clearly a bug

jakobnissen commented 2 years ago

Or is it? The SVG matches every other string other than that composed of a single [\x01-\xff].

jakobnissen commented 2 years ago

It's not a bug, I just didn't understand what it meant.