Skip to content

does disabling Unicode mean I can't search for \u2603? #813

Answered by BurntSushi
d3lm asked this question in Q&A
Discussion options

You must be logged in to vote

I am a bit confused when I read the documentation.

To be clear, and to make sure we're talking about the same thing, these are the docs that I think should answer this question: https://docs.rs/regex/1.5.4/regex/#crate-features

In particular, the last couple sentences of the second paragraph I believe are crucial here. Do they answer your question? If not, there might be some other misunderstanding (perhaps on my part) going on here:

Stated differently, enabling or disabling any of the features below can only add or subtract from the total set of valid regular expressions. Enabling or disabling a feature will never modify the match semantics of a regular expression.

So in other words,…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@d3lm
Comment options

@BurntSushi
Comment options

@d3lm
Comment options

@BurntSushi
Comment options

@d3lm
Comment options

Answer selected by d3lm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants