rougail-output-doc/tests/docs/base/00_6regexp.adoc

32 lines
609 B
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
---
version: '1.1'
var:
description: a first variable
regexp: ^#(?:[0-9a-f]{3}){1,2}$
default: '#a1a1a1'
test:
- '#b1b1b1'
- '#b2b2b2'
----
== Variables for "Rougail"
[cols="1a,1a"]
|====
| Variable | Description
|
**rougail.var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[regexp]` `standard` `mandatory` |
A first variable. +
**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$" +
**Default**: #a1a1a1 +
**Examples**:
* '#b1b1b1'
* '#b2b2b2'
|====