js/src/regexp/validPunycode.js (2 lines of code) (raw):

// Copyright 2018 Twitter, Inc. // Licensed under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 const validPunycode = /(?:xn--[\-0-9a-z]+)/; export default validPunycode;