← every case · 2000 · string forms
an apostrophe inside a PowerShell here string. The body of a here string is literal and it ends only at a closer sitting at the start of a line, so the apostrophe in the word is a byte
| 1 | codecodecodecodecodecode | $s = @' |
| 2 | codecodecodecodecodecode | it is a here string with an apostrophe: don't |
| 3 | codecodecodecodecodecode | '@ |
| 4 | commentscommentscommentscommentscommentscomments | # a real comment |
| 5 | codecodecodecodecodecode | $x = 1 |
stringcommentthe tag around another language
cloc --json cases/2000-string_forms/2110-here_string_holding_an_apostrophe/input.ps1
--strip-str-comments
cloc --json cases/2000-string_forms/2110-here_string_holding_an_apostrophe/input.ps1 --strip-str-comments
cloc --json cases/2000-string_forms/2110-here_string_holding_an_apostrophe/input.ps1 --docstring-as-code
mezura cases/2000-string_forms/2110-here_string_holding_an_apostrophe/input.ps1 --output json --hide timing --no-default-config --no-local --counting content
mezura cases/2000-string_forms/2110-here_string_holding_an_apostrophe/input.ps1 --output json --hide timing --no-default-config --no-local --counting region
scc --format json cases/2000-string_forms/2110-here_string_holding_an_apostrophe/input.ps1
tokei --output json cases/2000-string_forms/2110-here_string_holding_an_apostrophe/input.ps1