Skip to content

1.1.14

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jan 18:51
· 24 commits to master since this release

Adding Regex Transformations to Templates.

Regex Transformation can be used to transform the data by applying regular expressions.
They are given as an additional option after pre- and suffix. Inside this Transformation every regular expression given inside <$ $> delimiters will be replaced by the matching string from the input.

Example:

This Regex Transformation will transform the "Actors" data in the form of Firstname Lastname into a link in the form of [[Lastname, Firstname|@Firstname Lastname]] (see issue #21):

{{Actors|"[[|]]"|<$\w+$$>, <$^\w+$>\|@<$^\w+$> <$\w+$$>}}