My Oracle Support Banner

Expression Mismatch Between DMW And LSH Source Code (Doc ID 2951938.1)

Last updated on JULY 13, 2023

Applies to:

Oracle Life Sciences Data Management Workbench - Version 3.1.1.2 and later
Information in this document applies to any platform.

Goal

The purpose of this document is to find out why there is a mismatch between the expression defined in DMW and what was generated in LSH as shown below:

DMW
=====
CASE WHEN REGEXP_LIKE(DECODE(SUBSTR(<STRING>, 1, 1), '.', '0' || <STRING>, ',', '0' || <STRING>, <STRING>), '^[0-9]\d{0,2}(\,\d{3})*(.\d+)?$') THEN <STRING> END

LSH
=====
CASE WHEN REGEXP_LIKE(DECODE(SUBSTR(ORRESMB, 1, 1), '.', '0' || <STRING>, ',', '0' || <STRING>, <STRING>), '^[0-9]\d.{0,2(\,\d{3})*(.\d+)?$') THEN <STRING> END


Difference:

, '^[0-9]\d{0,2}(\,\d{3})*

Or
'^[0-9]\d.{0,2(\,\d{3})*

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.