Difference between revisions of "Regular Expression"
From SAP Enable Now Wiki
(Created page with "==Scope== * '''Simulation''' project > '''Input Text''' macro > '''Regular Expression''' property ==Purpose== A Regular Expression defines a ''patt...") |
(→Scope) |
||
Line 1: | Line 1: | ||
==Scope== | ==Scope== | ||
− | * '''[[Simulation]]''' | + | * '''[[Simulation]]''' content object > '''[[Input Text (macro)|Input Text]]''' macro > '''Regular Expression''' property |
==Purpose== | ==Purpose== |
Latest revision as of 19:35, 12 August 2019
Scope
- Simulation content object > Input Text macro > Regular Expression property
Purpose
A Regular Expression defines a pattern against which a value will be validated. For Input Text macros, a Regular Expression can be entered into the Regular Expression property to allow the user to enter different values (that match the Regular Expression's pattern) and still progress to the next step. This is particularly useful in Test mode, where you want the user to be able to enter (for example) a value of "0" or "0.00" or "00.00" and so on.
Regular Expressions are effectively an 'industry standard' thing, and are used in many more places than just SAP Enable Now. There are several recognized 'variations' of Regular Expression. SAP Enable Now uses (close-to) the PCRE (PHP) variant.