MCPcopy Create free account
hub / github.com/csev/py4e / isWordChar

Function isWordChar

tools/pythonauto/static/codemirror/codemirror.js:5650–5653  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

5648
5649 var nonASCIISingleCaseWordChar = /[\u00df\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;
5650 function isWordChar(ch) {
5651 return /\w/.test(ch) || ch > "\x80" &&
5652 (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));
5653 }
5654
5655 function isEmpty(obj) {
5656 for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;

Callers 2

findPosHFunction · 0.70
findWordAtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected