Skip to content

Commit

Permalink
Modify Rule S796: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-tingaud-sonarsource authored Mar 6, 2024
1 parent 85ea5a8 commit 3e52a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/S796/cfamily/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Escape sequences supported in every C and {cpp} standard are: `\n`, `\t`, `\v`,

C99 and {cpp}11 introduced escape sequences for Unicode characters in the form: `\u<4 Hexadecimal Digits>` and `\U<8 Hexidecimal Digits>`.

{cpp23} supports named escape sequences for Unicode characters in the form `\N{<Name of Character>}` and a delimited version of escape sequences is supported: `\o{<Octal Number>}`, `\x{<Hexadecimal Number>}`, and `\u{<Hexadecimal Number>}`.
{cpp}23 supports named escape sequences for Unicode characters in the form `\N{<Name of Character>}` and a delimited version of escape sequences is supported: `\o{<Octal Number>}`, `\x{<Hexadecimal Number>}`, and `\u{<Hexadecimal Number>}`.


=== Noncompliant code example
Expand Down

0 comments on commit 3e52a16

Please sign in to comment.