rougail-output-doc/tests/docs/no_namespace/00_6regexp.md

3.7 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
var:
  description: a first variable
  regexp: ^#(?:[0-9a-f]{3}){1,2}$
  default: '#a1a1a1'
  test:
    - '#b1b1b1'
    - '#b2b2b2'

Variables

Variable                                                                                                   Description                                                                                               
var
regexp standard mandatory
A first variable.
Validator: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"
Default: #a1a1a1
Examples:
- #b1b1b1
- #b2b2b2