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

Uncaught SyntaxError: Invalid regular expression: //\b(TODO|FIX|CHANGE|CHANGED|DONE|KIV|NOTE|REVI... #212

Open
jiredo opened this issue May 7, 2021 · 0 comments

Comments

@jiredo
Copy link

jiredo commented May 7, 2021

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.56.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Home Single Language
Thrown From: todo-show package 2.3.2

Stack Trace

Uncaught SyntaxError: Invalid regular expression: /\b(TODO|FIX|CHANGE|CHANGED|DONE|KIV|NOTE|REVIEW|BUG|QUESTION|ALTER|TEMP)[:;.,]?\d*($|\s.$|\(.$)/: Unterminated group

At C:\Users\Jiredo\.atom\packages\todo-show\lib\todo-regex.coffee:16

SyntaxError: Invalid regular expression: /\\b(TODO|FIX|CHANGE|CHANGED|DONE|KIV|NOTE|REVIEW|BUG|QUESTION|ALTER|TEMP)[:;.,]?\\d*($|\\s.*$|\\(.*$)/: Unterminated group
    at new RegExp (<anonymous>)
    at TodoRegex.module.exports.TodoRegex.makeRegexObj (/packages/todo-show/lib/todo-regex.coffee:16:5)
    at TodoRegex.module.exports.TodoRegex.createRegexp (/packages/todo-show/lib/todo-regex.coffee:24:6)
    at /packages/todo-show/lib/todo-regex.coffee:5:16)
    at TodoCollection.module.exports.TodoCollection.search (/packages/todo-show/lib/todo-collection.coffee:180:17)
    at ShowTodoView.module.exports.ShowTodoView.search (/packages/todo-show/lib/todo-view.coffee:144:17)
    at /packages/todo-show/lib/todo-view.coffee:118:36)
    at HTMLButtonElement.dispatch (/packages/todo-show/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/packages/todo-show/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -1:36.1.0 core:backspace (input.hidden-input)
  2x -1:35.8.0 core:move-right (input.hidden-input)
  2x -1:35 core:move-left (input.hidden-input)
 11x -1:33.7.0 core:move-right (input.hidden-input)
     -1:32.4.0 core:backspace (input.hidden-input)
     -1:31.7.0 core:move-down (input.hidden-input)
     -1:31.1.0 core:move-right (input.hidden-input)
  4x -1:30.5.0 core:move-left (input.hidden-input)
     -1:08.3.0 core:move-right (input.hidden-input)
     -1:07.9.0 core:backspace (input.hidden-input)
     -1:07.4.0 core:move-right (input.hidden-input)
     -0:39.8.0 core:paste (input.hidden-input)
  2x -0:35.4.0 core:save (input.hidden-input)
     -0:26.4.0 todo-show:toggle (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-material-ui 2.1.3 
file-icons 2.1.47 
Hydrogen 2.15.3 
minimap 4.39.13 
project-manager 3.3.8 
sync-settings 5.2.9 
todo-show 2.3.2 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant