- October 5, 2022 at 7:12 am #28576
I am trying both bulk and batch replace with a linked file. The linked file contents is 2 columns like this:
That is, find any such word if it is not followed by ] or preceded by [ and then create a [[wikilink]].
When I run this regex I get:
The regular expression contains a back-reference to a non-existent marked sub-expression
There is no problem when I run the regex normally from the find/replace dialog.October 5, 2022 at 8:17 am #28579
I couldn’t reproduce the issue. Which version of EmEditor are you using? Are you using the default regex engine (Boost.Regex)? Did you make any changes in the Advanced dialog box?October 5, 2022 at 9:23 am #28587October 5, 2022 at 12:16 pm #28595
Is your linked file saved as UTF-8?October 5, 2022 at 1:30 pm #28598
UTF-8 without signature, as the file in the screenOctober 5, 2022 at 1:45 pm #28599
Please email me all your files after zipped so I will look into the issue.October 6, 2022 at 2:59 am #28605October 6, 2022 at 11:03 am #28608
I downloaded your files and tested, but I still couldn’t reproduce the issue.October 7, 2022 at 2:18 am #28617
I guess you have defined as conditions CR on the linked replacements file.October 7, 2022 at 8:06 am #28618
I did exactly the same way as the screenshot shows — “CR @”.
I don’t believe it’s an issue, but can you please try saving both your sample and linked file as UTF-16 with BOM, and see if you can still reproduce the issue?
- You must be logged in to reply to this topic.