Looking for a Regular Expression extension [closed]

一世执手 提交于 2019-12-07 12:25:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!