typora-issues
typora-issues copied to clipboard
regular expression doesn't work when find and replace
-
[x] Searched existing issues to avoid creating duplicates.
-
[x] Confirmed that it can be reproduced in built-in themes without customized css.
If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.
-
[x] Searched http://support.typora.io/
Describe the bug
- I use regular expression
([。,、……?!:;‘’“”——])\s+
to search all space symbols following these Chinese symbols, it works well. - Then, I use
\1
to replace all space symbols, it fails. - It just replaces the found results to the plain texts "\1" wrongly.
- It seems that regular expression
\1
doesn't work when find and replace.
Desktop (please complete the following information):
- OS: macOS Sonoma 14.2.1 (23C71)
Typora Version
- 1.8.5 (7106)