what is the status of compile-time regex support? #1076
-
What is the current status of compile-time regex support (last I checked this was developed separately in the Do the recent improvements in terms of what With the recent absorption of Anyway, love your work! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
So this question has a lot of dimensions. The top-line question of the current status though is that "compile-time regex support" is not something I personally am currently working on and don't plan to work on it any time soon. Other than that, the broad version of this question (just "how to support compile-time regexes") is quite difficult to answer. The issue is that there are a lot of different use cases and different ways to implement something approximating "compile-time regex." For example, a lot of people actually just care about whether static analysis can tell them that their regex is valid, but otherwise don't care so much that it's actually build when the Rust program is compiled. That can be (and is) satisfied by a Clippy lint. Otherwise, the broad version of the question is explored a bit in this meandering discussion on the topic. The narrower version of this question, "is it possible for A nerdier version of the question is perhaps something like this: "Okay okay, so the And an even nerdier version of that is, "is it possible to build any regex engine such that As for whether |
Beta Was this translation helpful? Give feedback.
So this question has a lot of dimensions. The top-line question of the current status though is that "compile-time regex support" is not something I personally am currently working on and don't plan to work on it any time soon.
Other than that, the broad version of this question (just "how to support compile-time regexes") is quite difficult to answer. The issue is that there are a lot of different use cases and different ways to implement something approximating "compile-time regex." For example, a lot of people actually just care about whether static analysis can tell them that their regex is valid, but otherwise don't care so much that it's actually build when the Rust program is compi…