We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet
The MDN cheat sheet uses the term character set to describe the concept that almost all other regex documentation refers to as characters classes
"Character classes"
If you check other sources for regex reference, the regex of the form [xyz], [a-c] are termed character classes. See for example:
[xyz]
[a-c]
https://www.regular-expressions.info/refcharclass.html TC49 tests: https://github.com/tc39/test262/blob/master/test/built-ins/RegExp/regexp-class-chars.js#L9
However, the MDN cheat sheet calls these character sets
en-us/web/javascript/guide/regular_expressions/cheatsheet
The text was updated successfully, but these errors were encountered:
Given we call it Character Classes here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes and Character set is easily to be confused with the same term used in encoding (https://developer.mozilla.org/en-us/docs/Glossary/character_set), I'm going to change this.
Thanks for your report!
Sorry, something went wrong.
Elchi3
Successfully merging a pull request may close this issue.
MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet
What information was incorrect, unhelpful, or incomplete?
The MDN cheat sheet uses the term character set to describe the concept that almost all other regex documentation refers to as characters classes
Specific section or headline?
"Character classes"
What did you expect to see?
If you check other sources for regex reference, the regex of the form
[xyz]
,[a-c]
are termed character classes. See for example:https://www.regular-expressions.info/refcharclass.html
TC49 tests: https://github.com/tc39/test262/blob/master/test/built-ins/RegExp/regexp-class-chars.js#L9
However, the MDN cheat sheet calls these character sets
Did you test this? If so, how?
MDN Content page report details
en-us/web/javascript/guide/regular_expressions/cheatsheet
The text was updated successfully, but these errors were encountered: