A modult a Modul:languages/data/patterns/doc lapon tudod dokumentálni
-- Capture patterns used by ] to prevent formatting from being disrupted while text is being processed.
-- Certain character sequences are substituted beforehand to make pattern matching more straightforward:
-- "\1" = "[["
-- "\2" = "]]"
return {
"((</?link>))\0", -- Special link formatting added by ]
"((<+>))", -- HTML tag
"((\1:+\2))\0", -- File
"((\1:+\2))\0", -- Image
"((\1:+\2))\0", -- Category
"((\1:+\2))\0", -- Category
"((\1)+(\2))\0", -- Bare internal link
"((\1)-(|)-(\2))\0", -- Piped internal link
"((% ]+)]*(%]))\0", -- External link
"((\127'\"`UNIQ%-%-%l+%-%x+%-+QINU`\"'\127))", -- Strip marker
"('*(''').-'*('''))", -- Bold
"('*('').-'*(''))" -- Italics
}