(ch)
| 789 | |
| 790 | var nonASCIISingleCaseAtomChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/ |
| 791 | function isAtomCharBasic(ch) { |
| 792 | return /\w/.test(ch) || (ch > "\x80" && (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseAtomChar.test(ch))) |
| 793 | } |
| 794 | function isAtomChar(ch, helper) { |
| 795 | if (!helper) { |
| 796 | return isAtomCharBasic(ch) |