manual:api:reference:regularexpression:object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference:regularexpression:object [2021/09/14 11:02]
robertsl removed
— (current)
Line 1: Line 1:
-===== > Regular expression object ===== 
- 
-The following objects are directly related to the ''​regexp''​ API. 
- 
-==== Regular expression ==== 
- 
-The global regular expression object has the following properties. 
- 
-^  Property ​ ^  [[:​manual/​api/​reference_commentary#​data_types|Type]] ​ ^  Description ​ ^ 
-| regexpid | string | //​(readonly)//​ ID of the regular expression. | 
-| **name** \\ (required) | string | Name of the regular expression. | 
-| test_string | string | Test string. | 
- 
-==== Expressions object ==== 
- 
-The expressions object has the following properties. 
- 
-^  Property ​ ^  [[:​manual/​api/​reference_commentary#​data_types|Type]] ​ ^  Description ​ ^ 
-| **expression** \\ (required) | string | Regular expression. | 
-| **expression_type** \\ (required) | integer | Type of Regular expression. \\ \\ Possible values: \\ 0 - Character string included; \\ 1 - Any character string included; \\ 2 - Character string not included; \\ 3 - Result is TRUE; \\ 4 - Result is FALSE. | 
-| exp_delimiter | string | Expression delimiter. Only when ''​expression_type''​ //Any character string included//. \\ \\ Default value is empty. \\ \\ Possible values: '','',​ ''​.'',​ ''/''​. | 
-| case_sensitive | integer | Case sensitivity. \\ \\ Possible values: \\ 0 - Case insensitive;​ \\ 1 - Case sensitive. |