docs: escape and unescape by ovarn · Pull Request #2325 · validatorjs/validator.js
Conversation
The doc for the escape and unescape doesn't match the implementation:
| .replace(/\\/g, '\') | |
| .replace(/`/g, '`')); |
| .replace(/\/g, '\\') | |
| .replace(/`/g, '`') |
Checklist
- PR contains only changes related; no stray files, etc.
- README updated (where applicable)
- Tests written (where applicable)
- References provided in PR (where applicable)
ovarn
changed the title
Fix escape and unescape docs
docs: escape and unescape
Sorry @WikiRik, I unintentionally clicked the "Re-request review".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters