- AuthorPosts
- October 5, 2022 at 7:12 am #28576spirosParticipant
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-expressionThere is no problem when I run the regex normally from the find/replace dialog.
October 5, 2022 at 8:17 am #28579Yutaka EmuraKeymasterI 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 #28587spirosParticipantOctober 5, 2022 at 12:16 pm #28595Yutaka EmuraKeymasterIs your linked file saved as UTF-8?
October 5, 2022 at 1:30 pm #28598spirosParticipantUTF-8 without signature, as the file in the screen
October 5, 2022 at 1:45 pm #28599Yutaka EmuraKeymasterPlease 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 #28608Yutaka EmuraKeymasterI downloaded your files and tested, but I still couldn’t reproduce the issue.
October 7, 2022 at 2:18 am #28617spirosParticipantI guess you have defined as conditions CR on the linked replacements file.
October 7, 2022 at 8:06 am #28618Yutaka EmuraKeymasterI 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? - AuthorPosts
- You must be logged in to reply to this topic.