bestia.dev

Results 24 comments of bestia.dev

I asked the author of Rust Regex library @BurntSushi to help bringing Rust flavor to regex101.com. He said: > Go's regex engine is pretty similar. The main differences are that...

I wanted to say more precisely: `Rust Regex flavor` is very similar to `Go regex flavor`. I would like to ask the if they need just some regex rules to...

@BurntSushi, I have a question about "flags/modifiers". Must they be a part of the Regular Expression in Rust Regex like `(?m)` or `(?i)`... It looks that other libraries can change...

I think special delimiters are not used in Rust. The regular expression is just a String. The normal String delimiter in Rust is quote ". But for Regex it should...

I understood that VSCode has its own "naive" folding functionality. It simply looks the indentation. It is universal, but it lacks syntax understanding. Then VSCode has a `FoldingRangeProvider API` to...

I wrote a proof of concept, that can be used to return a list of "folding regions" to VS from the language server. https://github.com/LucianoBestia/region_folding

The cargo local index is refreshed on every command: `cargo check` `cargo build`,... So for an active developer it is always the actual situation. Also the command `cargo update --dry-run`...

It takes some time, so is better to do this async. The standard output looks like this: ![image](https://user-images.githubusercontent.com/31509965/82909945-98222f80-9f87-11ea-9fef-60e5e21f5212.png)

I read the long history of "not doing that" in Cargo and the index stability "not guaranteed" story. One temporary solution (probably long-time temporary) is: `cargo install lazy_static` or `cargo...

I also made a PWA progressive web app with Wasm/Webassembly compiled from Rust. So it uses exactly the regex crate. https://bestia.dev/rust_regex_explanation_pwa/ https://github.com/bestia-dev/rust_regex_explanation_pwa