-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
In code mode, text with $$ cannot be replaced. #1575
Comments
You an use |
Hi @josdejong @ChrisYuan1, I am not sure if this need to be fixed for the Ace-editor, but I think I found root cause for this issue. Then after the 'replace', the replacement string will be something '$xxxx'. |
Ahhh, wow, so it is actually a feature that originates in JavaScript's String.prototype.replace(). That explains it. Thanks for figuring this up. I think we can indeed argue that Ace should fix this, since when the search text is a string (and not a regexp), the |
@josdejong The Ace-editor guy said they would add fix for this issue. ajaxorg/ace#5486 |
That is good news! Thanks for opening the issue at Ace. |
The text was updated successfully, but these errors were encountered: