A regex for matching punycode.
npm install punycode-regexA regex for matching punycode.

``sh`
npm install punycode-regex
`js
const punycodeRegex = require("punycode-regex");
punycodeRegex().test("xn--tiq49xqyj")
//=> true
``