Open wodeni opened 6 years ago
I ended up using <boost/regex.hpp>
because it support lookbehind matching
There is a bug that I cannot fix yet:
9E5.5
(which is 9E5
and .5
) . I know this sucks, but I suspect that this pathological case will not come up a lot. If so, maybe we can preprocess the SVG again.Done in shapes
as of 04/20. Closing for now.
To show off some results:
The source is here. Parsing is lightning fast ⚡️
Just for fun, some more animals. This time is a polygon-based one:
<regex>
might be the way to go, but it requires nontrivial engineering effort.