Tests - GenesisCoast/embedded-yaml-docs GitHub Wiki

In addition to the built-in Jinja2 filters the following filters have also been provided in the tool.

contains

Tests if the value contains a substring.

containsgttimes

Tests if the number of occurrences of the substring in the value, is greater than the supplied number.

containstimes

Tests if the the value contains the substring a certain amount of times.

endswith

Tests if the value endswith the supplied postfix.

notcontains

Tests if the value does not contain a substring.

notendswith

Tests if the value does not endswith the supplied postfix.

notregexmatch

Tests if the value does not matche the supplied regex pattern.

notstartswith

Tests if the value does not startswith the supplied prefix.

regexmatch

Tests if the value matches the supplied regex pattern.

startswith

Tests if the value startswith the supplied prefix.