#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

LotusScript Support for Regex

Regex is a very common need, but currently LotusScript does not support it. All other major language support this.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Mar 1 2019
  • Likely to implement
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    10 Nov, 2020 09:14am

    I used something like this a while ago which still works.

    Dim x As String
    Dim regexp As Variant

    x = "5s"

    Set regexp = CreateObject("VBScript.RegExp")
    regexp.Global = True
    regexp.Pattern = "^[0-9]+$"
    Print regexp.Test(x)
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    4 Jun, 2020 11:06am
    wrapping LotusScript around the JVM

    This is a workaround. Moreover, the present direction of development is to abandon Java on the client.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    8 Apr, 2019 09:39pm

    * most lotusscript lacks

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    8 Apr, 2019 09:38pm

    We support this so far with a UseLSX wrapper around java.util.regex.Pattern. Seems that most things this site suggests are doable within the domino environment by wrapping LotusScript around the JVM.

     

     

     
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    1 Mar, 2019 06:26pm

    both regex replace and regex match would be good to have.