IBM Support

RS03743: STRING.MATCHES() TESTING A REGULAR EXPRESSION WITH A SPACE NOT WORKING USING DE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using Decision Engine, writing a b2xa performing a test on
    regular expression does not work testing spaces.
    
    For
    instance:
    java.lang.System.out.println("test regex in ARL: " +
    name.matches("[^,]+(,\\s)[^,]+"));
    

Local fix

  • Double the backslash:
    name.matches("[^,]+(,\\\\s)[^,]+"));
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users testing regular expressions in b2xa.                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Using Decision Engine, writing a b2xa performing a test on   *
    * regular expression does not work testing spaces.             *
    *                                                              *
    * For instance:                                                *
    * java.lang.System.out.println("test regex in ARL: " +         *
    * name.matches("[^,]+(,\\s)[^,]+"));                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • This now works in DE.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03743

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    8A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-01-26

  • Closed date

    2021-01-26

  • Last modified date

    2021-01-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R8A0 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8A0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 February 2022