Closed Ephellon closed 4 years ago
Original index.html
:
...
<meta --user="title. last-name"/>
...
Desired output:
...
<meta ?user="title. last-name"/>
...
Options used (Find & Replace):
Find in current buffer: --\b
Replace in current buffer: ?
I can't just use --
due to HTML comments <!-- ... -->
I think this is a problem with your regex matching instead of the atom editor.
Try this regex match:
([^<!](-)\1+)
Hi, just saw this. It's not just that particular RegEx, I can put in others and still get $1
(literal) instead of the match
I'll post more examples when I get home
Duplicate of #1110
Is there a way to downgrade this package? This is a show-stopping bug for me.
FYI:
https://gist.github.com/smtlaissezfaire/aea970f853853182afe539b2c505fb0d
Prerequisites
Description
When using the
Ctrl + F
orCtrl + Shift + F
(Find & Replace) with Regex enabled, the feature fails.Steps to Reproduce
Ctrl + F
orCtrl + Shift + F
--\b
or(--)\b
?
or$1?
--apple
→$1?apple
; it should be--?apple
Expected behavior:
Replace the current buffer(s) with the valid replacement string.
Actual behavior:
Either replaces the buffer(s) will literals, or does not replace anything.
Reproduces how often:
100% of the time: Safe Mode, fresh install, etc.
Versions
x64
1.43.0
v10.11.0
2.4.3
4.2.7
69.0.3497.128
Additional Information