Это перевод страницы документации с английского языка. Помогите нам сделать его лучше.

> Объект регулярного выражения

Следующие объекты напрямую связаны с API регулярного выражения(regexp).

Regular expression

The global regular expression object has the following properties.

Property 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 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 ,.

Possible values: ,, ., /.
case_sensitive integer Case sensitivity.

Default value 0.

Possible values:
0 - Case insensitive;
1 - Case sensitive.