Hacker News new | past | comments | ask | show | jobs | submit login

Yes, several of the optimizations of the dynamic regexes aren't available in the compile-time version. (It doesn't even have a DFA, IIRC.)

There is [a lint][1] which checks that your regular expressions are valid (at compile time), though.

[1]: https://github.com/Manishearth/rust-clippy/wiki#invalid_rege...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: