Hi Team!
After I updated Aspose.Words 23.1.0 to 23.3.0 version I noticed the following issue.
I have a regex that will match on the following text 123-45-6789. This text is represented by two Run Node, between this two Run there is an Image Shape node:
(123){RUN}(){IMAGESHAPE}(-45-6789){RUN}
In 23.1.0 there is no problem to find this text with the following regex: \d{3}-45-6789
If I update to 23.3.0 the text not found with the regex above but if I change to this \d{3}(.)-45-6789
the text found and it is contain an extra character. Match.Value: 123-45-6789
This is the extra character: UTF-16 Encoding: 0xE019
Is this a bug or there are any possible way(field in FindReplaceOptions) to skip these shape characters during Range.Replace?
Here is a sample project to reproduce the issue:
SampleProject.zip (1.5 MB)
Thank you for your help!