1.1.14
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+$$>}}