question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SyntaxError: nothing to repeat

See original GitHub issue

I have a user-defined command like this: %url%#\%tabtitle%;%referer%;%origin%

When I click filename to copy with user-defined command above. image

I got this error on the console after the update: image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rowrawercommented, Oct 29, 2022

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.

1reaction
rowrawercommented, Oct 29, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found