How many `#`s are allowed in raw string literals?

Probably, this is an English problem, how many #s are allowed in raw string literals? The Rust's document says

They start with the character U+0072 (r), followed by fewer than 256 of the character U+0023 (#) and a U+0022 (double-quote) character.

Which does this mean n < 256 or n ≤ 256 where n = number of # in a single raw literal bracket (e.g. #####", "##, #")?

Fewer means strictly less than (<), in other words, n <= 255.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.