You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the plugin settings, if you write a symbol like * or \ in the END Task label, it will break the plugin.
This does not happen in other textboxes.
To Reproduce
Steps to reproduce the behavior:
Go to 'settings'
Click on 'BREAK task label textbox'
Write 'BREAK' or '(Break)'
See error
Desktop (please complete the following information):
OS: Windows 11 x86
Error
Uncaught (in promise) SyntaxError: Invalid regular expression: /(?<=^|\s)BREAK(?=\s|$)/: Invalid quantifier (at plugin:day-planner-og:10:2282)
at new RegExp ()
at dt.updateSettings (plugin:day-planner-og:10:2282)
at Lt.handleConfigFileChange (plugin:day-planner-og:12:27790)
The text was updated successfully, but these errors were encountered:
Describe the bug
In the plugin settings, if you write a symbol like * or \ in the END Task label, it will break the plugin.
This does not happen in other textboxes.
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Error
Uncaught (in promise) SyntaxError: Invalid regular expression: /(?<=^|\s)BREAK(?=\s|$)/: Invalid quantifier (at plugin:day-planner-og:10:2282)
at new RegExp ()
at dt.updateSettings (plugin:day-planner-og:10:2282)
at Lt.handleConfigFileChange (plugin:day-planner-og:12:27790)
The text was updated successfully, but these errors were encountered: