SyntaxError: nothing to repeat
See original GitHub issueI have a user-defined command like this:
%url%#\%tabtitle%;%referer%;%origin%
When I click filename to copy with user-defined command above.
I got this error on the console after the update:
Issue Analytics
- State:
- Created a year ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
How to Fix 'Nothing to repeat' Errors in JavaScript - Webtips
The "Uncaught SyntaxError: Invalid regular expression: Nothing to repeat" error occurs in JavaScript when your regular expression is not ...
Read more >Javascript + Regex = Nothing to repeat error? - Stack Overflow
I'm trying to see if the user's input has illegal characters in it by using the .search function as so: if (name.search(" ...
Read more >Syntax error: nothing to repeat - The freeCodeCamp Forum
The problem is in your regex. FYI, if you run your code through Node you get the following error: SyntaxError: Invalid regular expression:...
Read more >Uncaught SyntaxError: Invalid regular expression
I found an error in chrome console: “Uncaught SyntaxError: Invalid regular expression: /^*-+:*$/: Nothing to repeat”, also tried to find if other plugins ......
Read more >Issues - GitHub
Error telemetry: SyntaxError: Invalid regular expression: /^/s*{/*/s*#?region/b.**/}/: Nothing to repeat at new RegExp ( ) [at r.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can’t really be bothered to add even more options but I’ve already added the global flag to the command, it’ll be available in the next version.
That’s because all trailing spaces at the beginning and end of input fields get trimmed. I’ll have to add an exception for that.