News for hackers. Stuff that matters.
Re:Userdir URLs like https://example.org/~username/ are dang... by cormacrelf on Wednesday April 08, 2020 @09:59AM (#22812991)
The better solution is allow control over what the terminating characters are. Rust raw strings allow N ‘#’ characters around them, like r”x”, r#”x”, r#####”x with “quotes””#####. So no escapes are ever needed, just increase the number of hashes to outstrip the maximum consecutive hashes appearing in the string after a quote character.

There are no comments on this comment yet.