We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hebrew regex does not work with TextFragmentAbsorber

Hi Team!

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!

Best regards,
Tamas Boldizsar

aspose-pdf-textfragmentabsorber-hebrew-regex.zip (16.7 KB)

@tamas.boldizsar

We were also able to reproduce the same issue in our environment. Therefore, have logged an issue as PDFNET-50107 in our issue tracking system for the sake of investigation. We will further analyze it and let you know as soon as the ticket is resolved. Please be patient and give us some time.

We are sorry for the inconvenience.

1 Like

@asad.ali

Thank you very much! I appreciate your help.

1 Like

@asad.ali

Hi! Is there any update on this issue? I am asking because a major feature depends on it on our side and only this issue is blocking it from delivery currently.

@tamas.boldizsar

We regret to inform that the earlier logged ticket is not yet resolved. Please note that it was logged under free support model where issues are resolved on first come first serve basis. We will surely inform you as soon as we make some significant progress towards resolution of the ticket. Please spare us some time.

We apologize for the inconvenience.

1 Like