diff --git a/tests/results/test/00_6regexp_link.adoc b/tests/results/test/00_6regexp_link.adoc index 7a04be9..8f8cc06 100644 --- a/tests/results/test/00_6regexp_link.adoc +++ b/tests/results/test/00_6regexp_link.adoc @@ -18,6 +18,10 @@ A first variable. + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[regexp]` `standard` `mandatory` | A second variable. + **Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$" + -**Default**: the value of the variable "var1". +**Default**: the value of the variable "var1". + +**Examples**: + +* '#b2b1b1' +* '#b3b2b2' |==== diff --git a/tests/results/test/00_6regexp_link.json b/tests/results/test/00_6regexp_link.json index 065c6e2..52dc6ff 100644 --- a/tests/results/test/00_6regexp_link.json +++ b/tests/results/test/00_6regexp_link.json @@ -61,6 +61,10 @@ ], "descriptions": [ "A second variable." + ], + "examples": [ + "#b2b1b1", + "#b3b2b2" ] } } \ No newline at end of file diff --git a/tests/results/test/00_6regexp_link.md b/tests/results/test/00_6regexp_link.md index b24a2f7..ce43732 100644 --- a/tests/results/test/00_6regexp_link.md +++ b/tests/results/test/00_6regexp_link.md @@ -1,5 +1,5 @@ | Variable | Description | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **var1**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: #a1a1a1<br/>**Examples**: <br/>- #b1b1b1<br/>- #b2b2b2 | -| **var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "var1". | +| **var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "var1".<br/>**Examples**: <br/>- #b2b1b1<br/>- #b3b2b2 | diff --git a/tests/results/test/00_6regexp_link.sh b/tests/results/test/00_6regexp_link.sh index be47f97..455f542 100644 --- a/tests/results/test/00_6regexp_link.sh +++ b/tests/results/test/00_6regexp_link.sh @@ -16,4 +16,7 @@ │ │ "^#(?:[0-9a-f]{3}){1,2}$" │ │ │ [1mDefault[0m: the value of the variable │ │ │ "var1". │ +│ │ [1mExamples[0m: │ +│ │ - #b2b1b1 │ +│ │ - #b3b2b2 │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_examples/00_6regexp_link.md b/tests/results/test_examples/00_6regexp_link.md index 4d7f56c..d65a9fc 100644 --- a/tests/results/test_examples/00_6regexp_link.md +++ b/tests/results/test_examples/00_6regexp_link.md @@ -3,5 +3,5 @@ ```yaml --- var1: '#b1b1b1' -var2: '#a1a1a1' +var2: '#b2b1b1' ``` diff --git a/tests/results/test_namespace/00_6regexp_link.adoc b/tests/results/test_namespace/00_6regexp_link.adoc index e0e5516..4dce1f4 100644 --- a/tests/results/test_namespace/00_6regexp_link.adoc +++ b/tests/results/test_namespace/00_6regexp_link.adoc @@ -20,6 +20,10 @@ A first variable. + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[regexp]` `standard` `mandatory` | A second variable. + **Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$" + -**Default**: the value of the variable "rougail.var1". +**Default**: the value of the variable "rougail.var1". + +**Examples**: + +* '#b2b1b1' +* '#b3b2b2' |==== diff --git a/tests/results/test_namespace/00_6regexp_link.json b/tests/results/test_namespace/00_6regexp_link.json index aa0e43c..3f1dc2d 100644 --- a/tests/results/test_namespace/00_6regexp_link.json +++ b/tests/results/test_namespace/00_6regexp_link.json @@ -79,6 +79,10 @@ ], "descriptions": [ "A second variable." + ], + "examples": [ + "#b2b1b1", + "#b3b2b2" ] } } diff --git a/tests/results/test_namespace/00_6regexp_link.md b/tests/results/test_namespace/00_6regexp_link.md index 13dbf94..5ef2caa 100644 --- a/tests/results/test_namespace/00_6regexp_link.md +++ b/tests/results/test_namespace/00_6regexp_link.md @@ -3,5 +3,5 @@ | Variable | Description | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: #a1a1a1<br/>**Examples**: <br/>- #b1b1b1<br/>- #b2b2b2 | -| **rougail.var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "rougail.var1". | +| **rougail.var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "rougail.var1".<br/>**Examples**: <br/>- #b2b1b1<br/>- #b3b2b2 | diff --git a/tests/results/test_namespace/00_6regexp_link.sh b/tests/results/test_namespace/00_6regexp_link.sh index 8f47570..00f0f68 100644 --- a/tests/results/test_namespace/00_6regexp_link.sh +++ b/tests/results/test_namespace/00_6regexp_link.sh @@ -21,4 +21,7 @@ │ │ "^#(?:[0-9a-f]{3}){1,2}$" │ │ │ [1mDefault[0m: the value of the variable │ │ │ "rougail.var1". │ +│ │ [1mExamples[0m: │ +│ │ - #b2b1b1 │ +│ │ - #b3b2b2 │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_examples/00_6regexp_link.md b/tests/results/test_namespace_examples/00_6regexp_link.md index 6d20069..6d7d6ad 100644 --- a/tests/results/test_namespace_examples/00_6regexp_link.md +++ b/tests/results/test_namespace_examples/00_6regexp_link.md @@ -4,5 +4,5 @@ --- rougail: var1: '#b1b1b1' - var2: '#a1a1a1' + var2: '#b2b1b1' ```