I have run into an issue regarding TextFragmentAbsorber working with Hebrew regexes, please find the attached project which will demonstrate my problem.
If I pass my Hebrew text as a string to TextFragmentAbsorber, there is a match. However, if Hebrew text is wrapped into a System.Text.RegularExpressions.Regex object that is passed to TextFragmentAbsorber, there is no match unfortunately and I have no idea why. Could you please suggest something or investigate the issue?
In the example project, I tried the same thing with simple latin text and both solutions worked (string to TextFragmentAbsorber and Regex object to TextFragmentAbsorber). Also, there is an example when finding that Hebrew Regex object in a string variable succeeded, so there should not be any issue with my regex I guess.
Tried on Linux and Windows too with the latest Aspose.Pdf version (21.6.0).
I would be grateful if you could help me. Thanks in advance!