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

Content deleted Content added
m add interpunct
don't go past first parenthetical
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 + ".*?\\(" + leadReBase, "i"); // brittle
}