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
This is indeed a bug, and you're not doing anything wrong. For a quick workaround, you can use a backslash to escape the single quote in the regular expression: s=s.replace(/\'/g, '');
I'm getting a 'SyntaxError: Unexpected end of input' when I try to enter the following in the repl
However,
s = s.replace(/'/g, '')
by itself on a new line is OK. Am I doing something wrong?The text was updated successfully, but these errors were encountered: