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
When find and replace any string in the code, If I use string like '$$xxxx' as the replacement string then then result would be '$xxxx', only one '$' left.
Expected Behavior
Treat '$$xxxx' as a normal string, instead of a special replacement pattern.
Current Behavior
'$$' will be treated as a special replacement pattern.
Reproduction Steps
Use 'ctrl+f' to find and replace, and the replacement string start with double '$'
Possible Solution
Seems this is reasonable behavior for the "string.prototype.replace()", but this is assuming the user to know the internal implementation of the editor.
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
v1.32.2, Chrome, Windows
The text was updated successfully, but these errors were encountered:
Describe the bug
When find and replace any string in the code, If I use string like '$$xxxx' as the replacement string then then result would be '$xxxx', only one '$' left.
Expected Behavior
Treat '$$xxxx' as a normal string, instead of a special replacement pattern.
Current Behavior
'$$' will be treated as a special replacement pattern.
Reproduction Steps
Use 'ctrl+f' to find and replace, and the replacement string start with double '$'
Possible Solution
Seems this is reasonable behavior for the "string.prototype.replace()", but this is assuming the user to know the internal implementation of the editor.
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
v1.32.2, Chrome, Windows
The text was updated successfully, but these errors were encountered: