User:Opencooper/showKanji-dev.js: Difference between revisions

Content deleted Content added
m refactor
test
Tag: Reverted
Line 170:
// Add kanji to regex to make sure we're not getting the reading of some
// other term
kanjiRegexes.leadUnspaced = new RegExp("『?" + kanjiEscaped + "[^(\n)]*?\\(" + leadReBase);
kanjiRegexes.lead = new RegExp("『?" + kanjiSpaced + "[^(\n)]*?\\(" + leadReBase, "i"); // brittle
}