Created
February 2, 2012 14:49
-
-
Save zackdouglas/1723799 to your computer and use it in GitHub Desktop.
A RegExp to identify normally safe international characters
This file contains 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
;new RegExp('a-z:_\\s\\\\-\\\\.0-9\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u010000-\\u0EFFF\u00B7\\u0300-\\u036F\\u203F-\\u2040'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment