Overview

This feature gives us a flexibility to store and retrieve numerous valid regex patterns, categorized under their specific purposeful regex groups in an application level common regex pool.

There are two aspects of this feature:

  • To Add/Edit/Delete regex patterns from Regex pool.
  • Select a regex pattern from Regex pool.

Some regex patterns under their respective regex groups are provided in installed version for use.

Regex Pool Configuration

User can enter into regex pool configuration under :[Batch Class List]>>[Batch Class]>>[Document Type]

 

400px-3.1_Regex_Pool_10001

 

On click of RegEx Pool Configuration user enters the regex pool configuration area.

Regex Group Configuration

Add/Edit/Delete Regex Group

Regex group containing a list of regex patterns can be added/updated/deleted by clicking corresponding button at following UI:

 

400px-3.1_Regex_Pool_10002

 

Upon clicking the add/edit button, following UI will be presented where user can add/edit regex group fields:

 

400px-3.1_Regex_Pool_10003

 

Configurations

This configuration is specific to a regex group in regex pool.

 

Configurable property Type of value Value options Description
RegEx group Name String NA A unique name of the group of certain kind of regex patterns.

 

Regex Pattern selection from Regex Pool

The regex patterns defined in the regex pool can be used for regex pattern selection at different locations in Batch class Management tab wherever some field exists that accepts a regex pattern.

Sample location is like on adding a new validation pattern for a document index level field:

 

400px-3.1_Regex_Pool_10006

 

Click on the button shown for select regex pattern. It opens a dialog box showing list of all regex groups available from regex pool:

 

400px-3.1_Regex_Pool_10007

 

Select one regex group and either double click on a regex pool or click on OK button to go to for selection amongst list of regex patterns for selected regex group. Another dialog box opens above previous dialog box as shown below:

 

400px-3.1_Regex_Pool_10008

 

Select one regex pattern and either double click on a regex pool or click on OK button to select that regex pattern. The selected regex pattern is automatically validated and gets populated in the textbox, as shown below:

 

400px-3.1_Regex_Pool_10009

 

 

Was this article helpful to you?

wikiadmin