I cannot think of how you could quantify a backspace. So, needing to escape one is difficult to understand.
I did find this on w3schools:
The 6 escape characters above were originally designed to control typewriters, teletypes, and fax machines. They do not make any sense in HTML.
So, I do not think the idea of
\b pertaining to escaping a backspace works, even outside of Regex.
Let us see if someone else has more knowledge on the topic
To build further on this, trying to use the
\b character in the editor does not produce a backspace, but rather generates a placeholder symbol.
Most escape sequences are characters which either cannot be printed or not found in keyboard directly. That backspace doesn’t appear on editor is immaterial. The ES standards define \b as backspace as does every major language I know. See table 34 of ECMAScript 2015 Language Specification – ECMA-262 6th Edition
Is there a way to file bug report for tutorials here?
Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.