问题
I'm looking for a Regular Expression library I can use in our application, which is written in PowerBuilder (PB has some RegEx functionality, but it's too limited for my needs). Required characteristics are:
- interface: COM or exported functions (can't use exported classes)
- Unicode
- Free
- Production ready
Any suggestions where can I find such a tool?
Thanks, Eran
回答1:
This custom (and recent) PowerBuilder library might help: Extension PBNI PbniRegex
回答2:
You can also use VBScript.RegExp OLE object.
OLEObject l_ole
l_ole = CREATE OLEObject
l_ole.ConnectToNewObject("VBScript.RegExp")
Now you can use RegExp methods. For more information see http://msdn.microsoft.com/en-us/library/ms974570.aspx
来源:https://stackoverflow.com/questions/487406/looking-for-a-regular-expression-extension