Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 "BREAK task label" breaks when trying to enter char '*' into textbox #51

Closed
networkfailtures opened this issue Jan 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@networkfailtures
Copy link

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:

  1. Go to 'settings'
  2. Click on 'BREAK task label textbox'
  3. Write 'BREAK' or '(Break)'
  4. 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)

@networkfailtures networkfailtures added the bug Something isn't working label Jan 9, 2024
@networkfailtures networkfailtures changed the title 🐛 🐛 "BREAK task label" breaks when trying to enter char '*' into textbox Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant