Closed ppsqkk closed 6 months ago
Thanks for this! The only change I made was updating the frequency sort version to match Marv's.
I'm not super familiar with handlebars, so I've asked the Yomitan devs to take a quick look at your regexMatch change. When they say it looks sensible, I'll merge it in.
Also decided to use this opportunity to update the ignored dictionaries for frequency sorting
It looks like this is being fixed here: https://github.com/themoeway/yomitan/pull/535
I'll merge it in for now, since it might take a while for the changes to get into the stable version of Yomitan, though we may need to revert the regexMatch change later
Fixes #3, also fixes manual selection of the primary definition. But, I did not fix the
jpmn-min-freq
handlebar because it's supposedly deprecated.The problem is that
regexMatch
no longer works in the form{{regexMatch regex [flags] [text-to-modify]...}}
. Instead, it only works in the form{{#regexMatch regex [flags]}}text-to-modify{{/regexMatch}}
. Maybe an issue should be raised in Yomitan?