Closed teleksterling closed 3 months ago
This looks useful - but I don't really know javascript:
function escapeRegExp(string) {
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
}
From: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping
@teleksterling https://github.com/HCAWN/gcal-multical-event-merge/pull/29/commits/b1a58c5f62f32f78c31b90c439defe9914a616ff Should be fixed in extension version 2.3.7, let me know once the update propigates to your browser through Chome
H
Closing as I beleive this has been resoled and no update from original poster.
Describe the bug Event titles aren't (properly) escaped, which leads to failures during regex event matching.
This error appears in the log upon page load/refresh 20-30 times within a couple seconds (perhaps once per visible event?)
To Reproduce
Expected behaviour
Device
Additional context None. Thanks for forking and improving the extension!