We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02227ad commit 73a3fe4Copy full SHA for 73a3fe4
punycode.js
@@ -15,7 +15,7 @@ const delimiter = '-'; // '\x2D'
15
16
/** Regular expressions */
17
const regexPunycode = /^xn--/;
18
-const regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars
+const regexNonASCII = /[^\0-\x7F]/; // Note: U+007F DEL is excluded too.
19
const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
20
21
/** Error messages */
0 commit comments