I'm in charge of imitating behavior of C# regex parser using Java. I'm aware that regex syntax is mostly the same in C# and Java. But there are some subtle issues that may greatly affect the result (especially in matcher's methods). So I would like to imitate C# regex parser completely.
Could you please recommend me a third-party Java library that imitates standard C# regex parser? I'm looking for well-written port. For instance, BouncyCastle library is the same in C# and Java (well, there are some distinctions but they are solely cosmetic). Another example is AWS SDK which has been implemented both in C# and Java.