Application
On the System Configuration screen, click Application to expand the following options:
-
Regex Pool: Expanded by default
-
Generate Key
-
Session Options
-
Regex Builder
Regex Pool and Regex Group
Expand
that contains all Regex Groups available in the database:-
Address
-
Amount
-
Common regex
-
Date/Time
-
Email
-
Financial
-
Invoice number
-
Invoice terms
-
Number
Each Regex Group has one child node called Regex Pattern. Click a Regex Pattern node to open the grid with the list of available regex patterns for the respective regex group node.
Regex Group features
The following features are available on the
screen.
- Regex Group options panel
-
The following buttons are available in the options panel:
-
Export Regex Pool: Export a regex group to transfer the exact configuration of a regex group present on one system to another system.
-
Open: Select a regex group and click Open to view the list of regex patterns for that group.
Shortcut: You can also select a regex group and open it by pressing Ctrl + K.
-
Add: Click Add and then type the name of the new regex group
-
Delete: Select a regex group and click Delete to remove it.
-
- Regex Group grid features
-
-
Editable: The Regex Group grid is editable. Edit the name of the existing regex group by clicking the name of the regex group in the grid and then typing the new name.
-
Sortable: Sort the list of regex groups by name in ascending or descending order by clicking the corresponding arrow button available in the column header.
-
- Regex Pattern options panel
-
As mentioned above, you can open the Regex Group to view the grid with the list of Regex Patterns. On that grid, the following buttons are available in the Regex Pattern options panel:
-
Add: Click Add, and then enter the name of the new regex pattern name, along with a description.
-
Delete: Select a regex pattern and click Delete to remove it.
-
- Regex Pattern grid features
-
-
Editable: The Regex Pattern grid is editable. Edit the name of the existing regex pattern and its description by clicking the name of the regex pattern and its description.
-
Sortable: Sort the list of regex patterns by name in ascending or descending order by clicking the corresponding arrow button available in the column header.
-
Column Filtration Option: Show or hide the Regex Pattern or Regex Pattern Description columns by clicking the arrow button in the column header and then selecting ether
or .
-
- Import Regex Pool
-
On the Import Regex Pool section to import a Regex Pool. By importing a regex pool, you can create the exact configuration for a regex group available on any other remote system. The imported regex groups are visible for all batch classes. You can import only .zip files here.
screen, use the
Generate Key
With Generate Key, you can generate an application level key. You can generate the application key only once. Clicking the Generate Key node in tree to open the screen with the text box where you must enter a key. After you enter the application key, click the Generate Key button. A message appears to confirm or cancel your actions. Once the application key is generated, the Generate Key button is disabled. The application key text box is also disabled and it displays masked characters such as *******.
Session Options
With Session Options, you can set the timeout length for a user session. The Idle Session Timeout (minutes) default value for a new Transact installation is 240. If you enter an invalid integer value, an error message appears.
In Transact upgrades, the value is taken from the <session-timeout> property of web.xml.
Regex Builder
With Regex Builder, you can create/generate various regular expression patterns by selecting the required options on the Regex Builder screen. Also, with Regex Builder, you can test the generated regular expression pattern with the help of the embedded Regex Tester. The advantage of this utility is that you do not have to write the Regular Expression manually.
Click the Regex Builder node to open the configuration screen, which consists of two panels: Regex Builder options panel and Regex Builder form panel.
- Regex Builder options panel
-
The following buttons are available in the Regex Builder options panel:
-
Add: Click Add to add a new tab that contains the same options as the main tab. From the drop-down list of the newly created tab, select the options according to your requirements. You can add as many tabs as you need to generate the required regular expression.
-
Remove: Click Remove to delete the last opened tab. The Remove button is disabled if you have only one tab on the Regex Builder screen.
-
Reset: Click Reset to discard all the selected values.
-
Test Regex: Click Test Regex to locate all the matches of the regex pattern in the Test Regex text area with the string in the String To Be Matched text area. The matched text in the String To Be Matched text area is highlighted.
-
- Regex Builder form panel
-
The Regex Builder form panel contains the following sections:
-
Text
In this section, you can select either "Match exact text" or "Text in range" options.
-
"Match exact text" option includes the following text fields: "Match exact text", "Any special character text", "Any character", and "Word boundary".
For example, to match the exact string such as "john", "Invoice", you can select the "Match exact text" option and type the exact string to the text field.
-
To match any string with text in a range, then you can select any number of options in the "Text in range" section.
For example, to select the text in range [a-zA-Z0-9], then it could be easily selected by clicking the check boxes accordingly.
The "Text in range" section contains many other options to select special characters, a range of digits or letters, or case.
-
-
Regex Quantifier
-
This section gives you a capability to select the quantitative options for the input text selected.
For example, to select a string that can be any letter encountered any number of times, the option "Any number of times".
-
You can also specify the number in this section.
For example, to select a string that contains any letter 3 times, then you can directly select the "Number of times" option and enter "3".
-
-
Regex Group
-
In this section, you can select options for a case insensitive search or the grouping feature for java regular expression.
For example, to search for a word "Invoice" (case insensitive), select the "Case insensitive" check box.
-
Also, you have the option for applying a regex quantifier to the entire group by selecting the corresponding check box.
-
-
Regex Tester
Regex Tester contains the following sections:
- Test Regex: This text area contains the generated regex pattern based on the inputs.
-
String To Be Matched: This text area contains the string that is to be matched against the generated regex pattern.
-