Regex replace has no effect


On atom 1.32.2, in an open tab, “Finding with Options: Regex, Case Sensitive”, I want to replace




Regex search results are highlighted correctly, but when I press “Replace” or “Replace All”, nothing happens. I’ve also tried to use \1 instead of $1, no effect at all.

What’s going wrong?


There is a spurious backslash in the replacement string, sorry. I can’t seem to edit the post.

Anyway, it works if you use perl-style \w instead of [[:alpha:]]. Looks like some kind of bug.