Orson Peters

Results 197 comments of Orson Peters

@BurntSushi `tokio` does it via a rustc `cfg` flag: The most important reason for this (as opposed to a regular feature) is that you can't silently depend on an unstable...

@BurntSushi Just to confirm I read you correctly, you would be open to accepting a PR implementing `participating_captures_len` as a start? As for the non-deterministic wording, how about: ```rust ///...

Should `participating_captures_len` get merged, the new proposed implementation for `extract` is: ```rust /// Finds the leftmost-first match in `text` and returns a tuple containing the whole match /// and its...

> I grant that it looks very appealing, but the footgun here is very concerning to me. I'm not sure how to mitigate it, and if we can't, whether it's...

> Panicking when the number of capturing groups isn't fixed. I would say this is a feature rather than a footgun, it ensures that you'll never get a panic due...

> I'd like to revisit this after https://github.com/rust-lang/regex/issues/656 lands. That is fine. > I also wonder whether it might be better to flatten the tuple into a single array, where...

I have made a pull request that changes the autorender in the following way: > If a left delimiter is preceded by a backslash (`\`), the backslash is stripped and...

We've decided that this is not a feature we want, for more details see https://github.com/pola-rs/polars/pull/10333#issuecomment-1669291968.

> It seems like this API would discourage the use of capture group names in favor of relying on capture group positions. I suppose. You could design an extract API...

This isn't just limited to SCSS files, also static files don't get their `get_file_hash` updated on reload.