I was not able to reproduce this issue using English 32-bit UEStudio v17.00.0.16. I did following:
- Started UEStudio with default settings.
- Converted the new file from ASCII to Unicode.
- Copied and pasted the sample text from browser into the new file.
- Set the caret on line 7 at column 30.
- Pressed Ctrl+R to open Replace window and copied and pasted [\.]{3,}[\s \.]* into Find what edit field.
- Entered ; into Replace with, checked option Regular expressions and selected Perl.
Option Replace all is from top of file was checked already and all other options were not checked.
- Clicked on button Replace all and status bar at bottom displayed 15 items replaced on left side.
The document window displayed immediately after clicking on
Replace all:
Code: Select all
ch1xxxx ;23
ch2xxxx ;, ;24
ch3xxxx ? ;26
如何在綱頁上加入程式 ;27
9FEBJavaScript$;;;29
第一個 JavaScript 程式 ;I. . . 32
在綱貞上顥示訊患;34
引用挪部 JavaScript 擋案 ;35
追蹤錨誤 error track ;ˉ ;ˉ ;37
Firefox 的 JavaScript 主捚台 ;38
ch11xxxx ;40
Wait. I have just seen on your last image that the file is not a Unicode encoded file. It is a file encoded with code page
950 (ANSI/OEM Traditional Chinese Big5).
So I converted the file from UTF-16 LE to ANSI with code page 950 using encoding selector in status bar, replaced the file contents by a new copy from browser, set caret again on line 7 at column 30 and clicked on
Replace all.
The status bar indicated
14 items replaced (not 15!), but document window still displayed the unmodified text.
Next I converted the file to ANSI with code page 1252 (ANSI - Latin I), replaced the file contents by a new copy from browser and clicked on button
No on warning that the Unicode characters in clipboard can't be converted to 1252 and if the file should be converted to UTF-8, set caret again on line 7 at column 30 and clicked on
Replace all.
The status bar indicated
15 items replaced and the modified file was displayed as expected in document window.
Conclusion: There is a bug in UEStudio v17.00.0.16 on running a Perl regular expression replace all on a file being ANSI encoded with code page 950.
Please report this issue by email to IDM support. I don't do that because I never edit ANSI encoded Chinese files.
Update: This bug was fixed with UE v24.20.0.62 and UEStudio v18.00.0.04.