[!vspace]
| =
|
[cmd]: >\$
[seq]: B>><>>>
[pat]: /^(!(?>[^
]+)
)<:vspace>/m
[rep]: $1
|
[$[phrase]]
| =
|
[cmd]: >[=
[seq]: B=>
[pat]: /\$\[(?>([^\]]+))\]/
[rep]: callable
[dep]: Array
(
[{$var}] => >
)
|
[%%]
| =
|
[cmd]: style
[seq]: B>>>>>>>=
[pat]: %
[rep]: return ApplyStyles($x);
[dep]: Array
(
[restorelinks] => <
)
|
[%define=]
| =
|
[cmd]: >split
[seq]: B>>>
[pat]: /^(?=%define=)((?:%%|%[A-Za-z][-,=:#\w\s'"().]*%)\s*)+$/
[rep]: callable
|
[&]
| =
|
[cmd]: <if
[pat]: /&(?>([A-Za-z0-9]+|#\d+|#[xX][A-Fa-f0-9]+));/
[rep]: &$1;
[seq]: B>=<
|
[&amp;]
| =
|
[cmd]: <&
[pat]: /&amp;/
[rep]: &
[seq]: B>=<<
|
['']
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /''(.*?)''/
[rep]: <em>$1</em>
[dep]: Array
(
['''] => <
)
|
[''']
| =
|
[cmd]: <''
[seq]: B>>>>=<
[pat]: /'''(.*?)'''/
[rep]: <strong>$1</strong>
[dep]: Array
(
['''''] => <
)
|
[''''']
| =
|
[cmd]: <'''
[seq]: B>>>>=<<
[pat]: /'''''(.*?)'''''/
[rep]: <strong><em>$1</em></strong>
[dep]: Array
(
['+] => <
['-] => <
['^] => <
['_] => <
)
|
['* *']
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /'\*(.*?)\*'/
[rep]: <b>$1</b>
|
['+]
| =
|
[cmd]: <'''''
[seq]: B>>>>=<<<
[pat]: /'\+(.*?)\+'/
[rep]: <big>$1</big>
|
['-]
| =
|
[cmd]: <'''''
[seq]: B>>>>=<<<
[pat]: /'\-(.*?)\-'/
[rep]: <small>$1</small>
|
['^]
| =
|
[cmd]: <'''''
[seq]: B>>>>=<<<
[pat]: /'\^(.*?)\^'/
[rep]: <sup>$1</sup>
|
['_]
| =
|
[cmd]: <'''''
[seq]: B>>>>=<<<
[pat]: /'_(.*?)_'/
[rep]: <sub>$1</sub>
|
['~ ~']
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /'~(.*?)~'/
[rep]: <i>$1</i>
|
[<:]
| =
|
[cmd]: >restore
[seq]: E<>
[pat]: /<:[^>]*>/
[rep]:
|
[<<|]
| =
|
[cmd]: <links
[seq]: B>>>>><
[pat]: /<<\|([^|]+|\[\[(.+?)\]\])\|>>/
[rep]: callable
[dep]: Array
(
[<|] => >
)
|
[<time>]
| =
|
[cmd]: <@@
[seq]: B>>>>=<
[pat]: /@\d{4}-(0[1-9]|1[012])-(0[1-9]|[12]\d|3[01])T([01]\d|2[0-3]):([0-5]\d)(:([0-5]\d))?Z?/i
[rep]: callable
|
[<vspace>]
| =
|
[cmd]: <restore
[seq]: E<<
[pat]: /<vspace>/
[rep]: <div class='vspace'></div>
[dep]: Array
(
[<vspace><p>] => <
)
|
[<vspace><p>]
| =
|
[cmd]: <<vspace>
[seq]: E<<<
[pat]: /<vspace><p\b(([^>]*)(\s)class=(['"])([^>]*?)\4)?/
[rep]: <p$2 class='vspace$3$5'
|
[<|]
| =
|
[cmd]: ><<|
[seq]: B>>>>><>
[pat]: /<\|([^|]+|\[\[(.+?)\]\])\|>/
[rep]: callable
|
[@@]
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /@@(.*?)@@/
[rep]: <code>$1</code>
[dep]: Array
(
[<time>] => <
)
|
[[+]
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /\[(([-+])+)(.*?)\1\]/
[rep]: callable
|
[[=]
| =
|
[cmd]: _begin
[seq]: B=
[pat]: /(
[^\S
]*)?\[([=@])(.*?)\2\]/s
[rep]: callable
[dep]: Array
(
[\r] => <
[$[phrase]] => >
[markup] => <
)
|
[[[]
| =
|
[cmd]: links
[seq]: B>>>>>=
[pat]: /(?>\[\[\s*(.*?)\]\])((?:-?[A-Za-z0-9\x80-\xd6]+)*)/
[rep]: callable
[dep]: Array
(
[[[|] => <
[[[#] => <
[urllink] => >
)
|
[[[#]
| =
|
[cmd]: <[[
[seq]: B>>>>>=<
[pat]: /(?>\[\[#([A-Za-z][-.:\w]*))\]\]/
[rep]: callable
|
[[[##]
| =
|
[cmd]: <[[#
[pat]: /\[\[##([A-Za-z][-.:\w]*)\]\]/
[rep]: callable
[seq]: B>>>>>=<<
|
[[[#|#]
| =
|
[cmd]: >nl1
[pat]: /\[\[#([A-Za-z][-.:\w]*)\s*\|\s+#\]\]/
[rep]: callable
[seq]: B>><>>
|
[[[#|*]
| =
|
[cmd]: <[[|
[pat]: /\[\[#([A-Za-z][-.:\w]*)\s*\|\s*\*\]\]/
[rep]: [[#$1 | $1]]
[seq]: B>>>>>=<<
|
[[[#|+]
| =
|
[cmd]: <[[|
[pat]: /\[\[#([A-Za-z][-.:\w]*)\s*\|\s*\+\]\]/
[rep]: [[#$1 | Back to $1]]
[seq]: B>>>>>=<<
|
[[[,]
| =
|
[cmd]: <links
[seq]: B>>>>><
[pat]: /\[\[,([^\|\]]+)(?:\|\s*([^\]]+))?\]\]/
[rep]: callable
|
[[[->]
| =
|
[cmd]: >[[|
[seq]: B>>>>>=<>
[pat]: /(?>\[\[([^\]]+?)\s*-+>\s*)(.*?)\]\]((?:-?[A-Za-z0-9\x80-\xd6]+)*)/
[rep]: callable
|
[[[<<]]]
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /\[\[<<\]\]/
[rep]: <br clear='all' />
|
[[[<]]]
| =
|
[cmd]: [[<<]]
[pat]: /\[\[<\]\]/
[rep]: <br style='clear:left;' />
[seq]: B>>>>==
|
[[[>]]]
| =
|
[cmd]: [[<<]]
[pat]: /\[\[&rt;\]\]/
[rep]: <br style='clear:right;' />
[seq]: B>>>>==
|
[[[?#|#]
| =
|
[cmd]: >nl1
[pat]: /\[\[((?:[\w\x80-\xfe]+(?:-[\w\x80-\xfe]+)*)[.\/])?([\w\x80-\xfe]+(?:-[\w\x80-\xfe]+)*(?:,[[:upper:]\d][\w\x80-\xfe]*(?:[-~][\w\x80-\xfe]+)*)?)#([A-Za-z][-.:\w]*)\s*\|\s+#\]\]/
[rep]: callable
[seq]: B>><>>
|
[[[\\]]]
| =
|
[cmd]: [[<<]]
[pat]: /\[\[\\\\]\]/
[rep]: <br style="clear:none;" />
[seq]: B>>>>==
|
[[[|]
| =
|
[cmd]: <[[
[seq]: B>>>>>=<
[pat]: /(?>\[\[([^|\]]*)\|\s*)(.*?)\s*\]\]((?:-?[A-Za-z0-9\x80-\xd6]+)*)/
[rep]: callable
[dep]: Array
(
[[[->] => >
[[[|#] => <
)
|
[[[|#]
| =
|
[cmd]: <[[|
[seq]: B>>>>>=<<
[pat]: /(?>\[\[([^|\]]+))\|\s*#\s*\]\]/
[rep]: callable
|
[[[~]
| =
|
[cmd]: <links
[seq]: B>>>>><
[pat]: /\[\[~(.*?)\]\]/
[rep]: [[Profiles/$1]]
|
[[^#]
| =
|
[cmd]: <[[#|#
[pat]: /\[\^#([A-Za-z][-.:\w]*)\^\]/
[rep]: callable
[seq]: B>><>><
|
[\$]
| =
|
[cmd]: >nl1
[seq]: B>><>>
[pat]: /\\(?>(\\*))
/
[rep]: callable
[dep]: Array
(
[!vspace] => >
)
|
[\r]
| =
|
[cmd]: <[=
[seq]: B=<
[pat]: /\r/
[rep]:
|
[^ ]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^\s+ #2/x
[rep]: callable
|
[^!]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^(!{1,6})\s?(.*)$/
[rep]: callable
|
[^!#]
| =
|
[cmd]: <links
[seq]: B>>>>><
[pat]: /^(!+|Q?:)#(#?)/
[rep]: callable
|
[^!<:]
| =
|
[cmd]: <^<:
[seq]: B>>>>>>><
[pat]: /^(?!<:)(?=.*(<\/?(form|div|table|t[rdh]|p|[uo]l|d[ltd]|h[1-6r]|pre|blockquote)\b)|\d+B)/
[rep]: <:block>
|
[^#]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^(#+)\s?(\s*)/
[rep]: <:ol,$1,$0>$2
|
[^*]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^(\*+)\s?(\s*)/
[rep]: <:ul,$1,$0>$2
|
[^----]
| =
|
[cmd]: >^->
[seq]: B>>>>>>=>
[pat]: /^----+/
[rep]: <:block,1><hr />
|
[^-<]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^(?>(-+))<\s?(\s*)/
[rep]: <:outdent,$1,$1 $2>$2
|
[^->]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^(?>(-+))>\s?(\s*)/
[rep]: <:indent,$1,$1 $2>$2
[dep]: Array
(
[^----] => >
)
|
[^::]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^(:+)(\s*)([^:]+):/
[rep]: <:dl,$1,$1$2><dt>$2$3</dt><dd>
|
[^<:]
| =
|
[cmd]: >block
[seq]: B>>>>>>>
[pat]: /^(?=\s*\S)(<:([^>]+)>)?/
[rep]: callable
[dep]: Array
(
[^!<:] => <
)
|
[^>>]
| =
|
[cmd]: <table
[seq]: B>>>>>><<
[pat]: /^>>(.+?)<<(.*)$/
[rep]: (:div:)%div $1 apply=div%$2
[dep]: Array
(
[^>><<] => <
)
|
[^>><<]
| =
|
[cmd]: <^>>
[seq]: B>>>>>><<<
[pat]: /^>><</
[rep]: (:divend:)
|
[^A:]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^A:/
[rep]:
|
[^img]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^((?>(\s+|%%|%[A-Za-z][-,=:#\w\s'".]*%)*)(\d+L))(\s*\|\s?)?(.*)$/
[rep]: callable
[dep]: Array
(
[^ws] => <
)
|
[^Q:]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^Q:(.*)$/
[rep]: <:block,1><p class='question'>$1</p>
|
[^ws]
| =
|
[cmd]: <^img
[seq]: B>>>>>>=<
[pat]: /^\s+ #1/x
[rep]: callable
|
[^|]
| =
|
[cmd]: <links
[seq]: B>>>>><
[pat]: /\^\|([^|]+|\[\[(.+?)\]\])\|\^/
[rep]: callable
|
[^||]
| =
|
[cmd]: >^||||
[seq]: B>>>>>>=>
[pat]: /^\|\|(.*)$/
[rep]: callable
|
[^||||]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^\|\|.*\|\|.*$/
[rep]: callable
[dep]: Array
(
[^||] => >
)
|
[_begin]
| =
|
[seq]: B
[dep]: Array
(
[fulltext] => >
[closeall] =>
[[=] =>
)
|
[_end]
| =
|
[seq]: E
[dep]: Array
(
[restore] => <
)
|
[`markup]
| =
|
[cmd]: <markup
[pat]: /(^|\(:nl:\))\(:markup:\)[^\S
]*\[([=@])((?:
`\.!+.*?)+)\2\]/sim
[rep]: callable
[seq]: B=<<
|
[`subpage]
| =
|
[cmd]: <`wikiword
[pat]: /`(([\w\x80-\xfe]+(?:-[\w\x80-\xfe]+)*([\/.]))?[\w\x80-\xfe]+(?:-[\w\x80-\xfe]+)*(?:,[[:upper:]\d][\w\x80-\xfe]*(?:[-~][\w\x80-\xfe]+)*)?)/
[rep]: callable
[seq]: B>>>>>=>><<
|
[`wikiword]
| =
|
[cmd]: <wikilink
[seq]: B>>>>>=>><
[pat]: /`(([\w\x80-\xfe]+(?:-[\w\x80-\xfe]+)*([\/.]))?([A-Z][A-Za-z0-9]*(?:[A-Z][a-z0-9]|[a-z0-9][A-Z])[A-Za-z0-9]*))/
[rep]: callable
|
[anydir1]
| =
|
[cmd]: >anydir2
[seq]: B>><>
[pat]: /\(:(extlist|diagnosticmessages)( .*?)?:\)/
[rep]: callable
|
[anydir2]
| =
|
[cmd]: <split
[seq]: B>><
[pat]: /\(:(extlist|diagnosticmessages)( .*?)?:\)([\s\S]*?)\(:\1end:\)/
[rep]: callable
[dep]: Array
(
[anydir1] => >
)
|
[area]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:area (.*?)?\s*?:\)/
[rep]: callable
|
[Attach]
| =
|
[cmd]: >img
[pat]: /\bAttach:([^\s<>"{}|\\^`()[\]']*[^\s.,?!<>"{}|\\^`()[\]'])/
[rep]: callable
[seq]: B>>>>>=><>
|
[attachlist]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:attachlist\s*(.*?):\)/i
[rep]: callable
|
[attachtable]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:attachtable\s*(.*?):\)/i
[rep]: callable
|
[autotel_landline]
| =
|
[cmd]: >autotel_mobile
[pat]: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(?:(\+\d{1,3}) (?:\s|[-]|\ |\&\#8209;) ? ) ? ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) ) (?:\s|[-]|\ |\&\#8209;) ?) )? (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\ |\&\#8209;) \d{3}) (?!\s?[0-9])/xi
[rep]: callable
[seq]: B>>>>>=>>>>>
|
[autotel_mobile]
| =
|
[cmd]: >autotel_service
[pat]: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(\+\d{1,3}) (?:\s|[-]|\ |\&\#8209;) ? ) ? ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) ) (?:\s|[-]|\ |\&\#8209;) ?) (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\ |\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi
[rep]: callable
[seq]: B>>>>>=>>>>
|
[autotel_service]
| =
|
[cmd]: >wikilink
[pat]: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))[\(]? (0[58]\d{2,2}) (?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\ |\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi
[rep]: callable
[seq]: B>>>>>=>>>
|
[blank]
| =
|
[cmd]: <block
[seq]: B>>>>>><
[pat]: /^\s+$/
[rep]:
|
[block]
| =
|
[cmd]: >links
[seq]: B>>>>>>
[dep]: Array
(
[style] => >
[imgmap] => >
[imgmapend] => >
[ptv:] =>
[blank] => <
[^<:] => >
[^img] =>
[^ ] =>
[^*] =>
[^#] =>
[^->] =>
[^-<] =>
[^::] =>
[^Q:] =>
[^A:] =>
[^||||] =>
[table] => <
[^!] =>
)
|
[casecorrection]
| =
|
[cmd]: <{$var}
[pat]: /\(:case-correction:\)/i
[rep]: callable
[seq]: B=>><
|
[closeall]
| =
|
[cmd]: _begin
[seq]: B=
[pat]: /^\(:closeall:\)$/
[rep]: callable
|
[comment]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:comment .*?:\)/i
[rep]:
|
[description]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:description\s+(.+?):\)/i
[rep]: callable
|
[det-summ]
| =
|
[cmd]: <table
[seq]: B>>>>>><<
[pat]: /(\(:details[ ].*?)summary=(?:(['"])(.*?)\2
|(\S+))(.*?:\))/xi
[rep]: $1$5<summary>$3$4</summary>
|
[directives]
| =
|
[cmd]: >split
[seq]: B>>>
[dep]: Array
(
[inline] => >
[subpage] =>
[attachtable] =>
[robots] =>
[extractform] =>
[area] =>
[newpagebox] =>
[newgroupbox] =>
[tocback] =>
[tocpage] =>
[toggle] =>
[messages] =>
[noheader] =>
[nofooter] =>
[notitle] =>
[noleft] =>
[noright] =>
[noaction] =>
[spacewikiwords] =>
[linkwikiwords] =>
[linebreaks] =>
[comment] =>
[title] =>
[keywords] =>
[description] =>
[PmTOC] =>
[noPmTOC] =>
[pagelist] =>
[searchbox] =>
[searchresults] =>
[varindex] =>
[input] =>
[attachlist] =>
[searchcloud] =>
)
|
[extractform]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:extract\s*(.*?)\s*:\)/
[rep]: callable
|
[fulltext]
| =
|
[cmd]: >_begin
[seq]: B>
[dep]: Array
(
[split] => >
[PmWikiInfo] =>
[if] =>
)
|
[grep]
| =
|
[cmd]: <include
[pat]: /\(:grep\s+(\S.*?):\)/i
[rep]: callable
[seq]: B>=><
|
[groupfooter]
| =
|
[cmd]: >nogroupfooter
[seq]: B>=>>>
[pat]: /\(:(groupfooter):\)/i
[rep]: callable
|
[groupheader]
| =
|
[cmd]: >nogroupheader
[seq]: B>=>>>
[pat]: /\(:(groupheader):\)/i
[rep]: callable
|
[if]
| =
|
[cmd]: fulltext
[seq]: B>=
[pat]: / \(:if (\d*) (?:end)? \b[^
]*?:\)
.*?
(?: \(: (?:if\1|if\1end) \s* :\)
| (?=\(:(?:if\1|if\1end)\b[^
]*?:\) | $)
)
/six
[rep]: callable
[dep]: Array
(
[include] => >
)
|
[img]
| =
|
[cmd]: <urllink
[seq]: B>>>>>=><
[pat]: /\b(?>(\L))([^\s<>"{}|\\^`()[\]']+(?:\.(?:gif|jpg|jpeg|a?png|svgz?|GIF|JPG|JPEG|A?PNG|SVGZ?|webp|WEBP|avifs?|AVIFS?)|\.webp|\.WEBP))("([^"]*)")?/
[rep]: callable
|
[imgmap]
| =
|
[cmd]: >block
[seq]: B>>>>>>>
[pat]: /\(:imgmap (.*?)?\s*?:\)/
[rep]: <map name='$1'>
|
[imgmapend]
| =
|
[cmd]: >block
[seq]: B>>>>>>>
[pat]: /\(:imgmapend:\)/
[rep]: </map>
|
[include]
| =
|
[cmd]: >if
[seq]: B>=>
[pat]: /\(:(include)\s+(\S.*?):\)/i
[rep]: callable
[dep]: Array
(
[redirect] => <
[nogroupheader] => >
[nogroupfooter] => >
)
|
[inline]
| =
|
[cmd]: >directives
[seq]: B>>>>
[dep]: Array
(
[links] => >
['* *'] =>
['~ ~'] =>
[''] =>
[@@] =>
[[+] =>
[{+] =>
[{-] =>
[[[<<]]] =>
)
|
[input]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:input\s+(\w+)(.*?):\)/i
[rep]: callable
[dep]: Array
(
[input-select] => <
[input-datalist] => <
)
|
[input+sp]
| =
|
[cmd]: <split
[seq]: B>><
[pat]: /(\(:input\s+(select|datalist)\s(?>.*?:\)))\s+(?=\(:input\s)/
[rep]: $1
|
[input-datalist]
| =
|
[cmd]: <input
[seq]: B>>>=<
[pat]: /\(:input\s+datalist\s.*?:\)(?:\s*\(:input\s+datalist\s.*?:\))*/i
[rep]: callable
|
[input-select]
| =
|
[cmd]: <input
[seq]: B>>>=<
[pat]: /\(:input\s+select\s.*?:\)(?:\s*\(:input\s+select\s.*?:\))*/i
[rep]: callable
|
[keywords]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:keywords?\s+(.+?):\)/i
[rep]: callable
|
[linebreaks]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(no)?linebreaks:\)/i
[rep]: callable
|
[links]
| =
|
[cmd]: >inline
[seq]: B>>>>>
[dep]: Array
(
[block] => >
[[[,] => <
[^!#] => <
[[[~] => <
[[[] =>
[<<|] => <
[^|] => <
[vardef] => <
)
|
[linkwikiwords]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(no)?linkwikiwords:\)/i
[rep]: callable
|
[mailto]
| =
|
[cmd]: <urllink
[seq]: B>>>>>=><
[pat]: /\bmailto:([^\s<>"{}|\\^`()[\]']*[^\s.,?!<>"{}|\\^`()[\]'])/
[rep]: callable
|
[markup]
| =
|
[cmd]: <[=
[seq]: B=<
[pat]: /\(:markup(\s+([^
]*?))?:\)[^\S
]*\[([=@])(.*?)\3\]/si
[rep]: callable
[dep]: Array
(
[markupend] => >
)
|
[markupend]
| =
|
[cmd]: >markup
[seq]: B=<>
[pat]: /\(:(markup)(\s+([^
]*?))?:\)[^\S
]*
(.*?)\(:markupend:\)/si
[rep]: callable
|
[Maxi2:]
| =
|
[cmd]: <split
[seq]: B>><
[pat]: /^([Mm]axi:)(.+)$/m
[rep]: callable
|
[messages]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:messages(?: (.*?))?:\)/i
[rep]: callable
|
[newgroupbox]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:newgroupbox\s*(.*?):\)/i
[rep]: callable
|
[newpagebox]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:newpagebox\s*(.*?):\)/i
[rep]: callable
|
[nl0]
| =
|
[cmd]: <split
[seq]: B>><
[pat]: /([^
])(?>(?:\(:nl:\))+)([^
])/i
[rep]: $1
$2
[dep]: Array
(
[nl1] => >
)
|
[nl1]
| =
|
[cmd]: >nl0
[seq]: B>><>
[pat]: /\(:nl:\)/i
[rep]:
[dep]: Array
(
[\$] => >
)
|
[noaction]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:noaction:\)/i
[rep]: callable
|
[nofooter]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:nofooter:\)/i
[rep]: callable
|
[nogroupfooter]
| =
|
[cmd]: >include
[seq]: B>=>>
[pat]: /\(:(nogroupfooter):\)/i
[rep]: callable
[dep]: Array
(
[groupfooter] => >
)
|
[nogroupheader]
| =
|
[cmd]: >include
[seq]: B>=>>
[pat]: /\(:(nogroupheader):\)/i
[rep]: callable
[dep]: Array
(
[groupheader] => >
)
|
[noheader]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:noheader:\)/i
[rep]: callable
|
[noleft]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:noleft:\)/i
[rep]: callable
|
[noPmTOC]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(no)(?:toc|tdm).*?:\)/im
[rep]: callable
|
[noright]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:noright:\)/i
[rep]: callable
|
[notitle]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:notitle:\)/i
[rep]: callable
|
[pagelist]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(pagelist)(\s+.*?)?:\)/i
[rep]: callable
|
[pmform]
| =
|
[cmd]: <input
[pat]: /\(:pmform *([-\w]+)( .*?)?:\)/
[rep]: callable
[seq]: B>>>=<
|
[PmTOC]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /^\(:[#*]?(?:toc|tdm).*?:\)\s*$/im
[rep]: callable
|
[PmWikiInfo]
| =
|
[cmd]: fulltext
[seq]: B>=
[pat]: /\(:pmwikiinfo(.*)?:\)/i
[rep]: callable
|
[PmWikiPlus1]
| =
|
[cmd]: <{$var}
[pat]: /\(:pmwikiplus(.*)?:\)/i
[rep]: callable
[seq]: B=>><
|
[ptv:]
| =
|
[cmd]: callable
[seq]: B>>>>>>=
[pat]: /^(\w[-\w]+)\s*:.*$/
[rep]: <:block,0><div class='property-$1'>$0</div>
|
[redirect]
| =
|
[cmd]: <include
[seq]: B>=><
[pat]: /\(:(redirect)\s+(\S.*?):\)/i
[rep]: callable
|
[restore]
| =
|
[cmd]: <_end
[seq]: E<
[pat]: /(\d.*?)/
[rep]: callable
[dep]: Array
(
[<:] => >
[<vspace>] => <
)
|
[restorelinks]
| =
|
[cmd]: <%%
[seq]: B>>>>>>>=<
[pat]: /(\d+L)/
[rep]: callable
|
[robots]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:robots\s+(\w[\w\s,]*):\)/
[rep]: callable
|
[searchbox]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(searchbox)(\s.*?)?:\)/
[rep]: callable
|
[searchcloud]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:searchcloud(?: (.*?))?:\)/i
[rep]: callable
|
[searchresults]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(searchresults)(\s+.*?)?:\)/i
[rep]: callable
|
[secref]
| =
|
[cmd]: >nl1
[pat]: /(`)?(Sec|SEC)\(([A-Za-z][-.:\w]*)\)/
[rep]: callable
[seq]: B>><>>
|
[spacewikiwords]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(no)?spacewikiwords:\)/i
[rep]: callable
|
[split]
| =
|
[cmd]: >fulltext
[seq]: B>>
[pat]:
[rep]: $RedoMarkupLine=1; return explode("\n",$x);
[dep]: Array
(
[directives] => >
[Maxi2:] => <
[thumblist] => <
[textvar:] => <
[nl0] => <
[anydir2] => <
[%define=] => >
[input+sp] => <
)
|
[style]
| =
|
[cmd]: >block
[seq]: B>>>>>>>
[dep]: Array
(
[%%] =>
)
|
[subpage]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /^\(:subpage\s*(.*?):\)/
[rep]: callable
|
[table]
| =
|
[cmd]: <block
[seq]: B>>>>>><
[pat]: /^\(:(table|cell|cellnr|head|headnr|tableend|(?:div\d*|section\d*|details\d*|article\d*|header|footer|nav|address|aside)(?:end)?)(\s.*?)?:\)/i
[rep]: callable
[dep]: Array
(
[^>>] => <
[det-summ] => <
)
|
[textvar:]
| =
|
[cmd]: <split
[seq]: B>><
[pat]: /\(: *\w[-\w]* *:(?!\)).*?:\)/s
[rep]:
|
[thumbgallery]
| =
|
[cmd]: <thumblist
[seq]: B>><<
[pat]: /\(:thumb(gallery)\s*(.*?):\)(.*?)\(:thumbgalleryend:\)/si
[rep]: callable
|
[thumblist]
| =
|
[cmd]: <split
[seq]: B>><
[pat]: /\(:thumb(list)?\s*(.*?):\)/i
[rep]: callable
[dep]: Array
(
[thumbgallery] => <
)
|
[title]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:title\s(.*?):\)/i
[rep]: callable
|
[toc]
| =
|
[cmd]: >[[#|#
[pat]: /\(:([#\*])?toc(?:-(float|hide))?(?:\s+anchors=(v)isible)?(?:\s+(.*?))?(?:\s+(Q))?:\)(.*)$/s
[rep]: callable
[seq]: B>><>>>
|
[tocback]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:toc-back(?:\s+(.*?))?:\)/
[rep]: callable
|
[tocpage]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:toc-page\s+(.*?)(?:\s+self=([01]))?:\)/
[rep]: callable
|
[toggle]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:(toggle(?:set)?)\s+(.*?):\)/i
[rep]: callable
|
[urllink]
| =
|
[cmd]: >[[
[seq]: B>>>>>=>
[pat]: /\b(?>(\L))[^\s<>"{}|\\^`()[\]']*[^\s.,?!<>"{}|\\^`()[\]']/
[rep]: callable
[dep]: Array
(
[mailto] => <
[img] => <
[wikilink] => >
)
|
[vardef]
| =
|
[cmd]: <links
[seq]: B>>>>><
[pat]: /^:\$([A-Z][A-Za-z0-9]*(?:[A-Z][a-z0-9]|[a-z0-9][A-Z])[A-Za-z0-9]*|Author|Skin|pagename|Version) *:/
[rep]: :%apply=item id=$1%$$1:
|
[varindex]
| =
|
[cmd]: directives
[seq]: B>>>=
[pat]: /\(:varindex:\)/i
[rep]: callable
|
[varlink]
| =
|
[cmd]: <wikilink
[seq]: B>>>>>=>><
[pat]: /\$([A-Z][A-Za-z0-9]*(?:[A-Z][a-z0-9]|[a-z0-9][A-Z])[A-Za-z0-9]*|Author|Skin|pagename|Version)\b/
[rep]: callable
|
[wikilink]
| =
|
[cmd]: >urllink
[seq]: B>>>>>=>>
[dep]: Array
(
[`wikiword] => <
[varlink] => <
)
|
[{$var}]
| =
|
[cmd]: >$[phrase]
[pat]: /\{(\*|!?[-~,\w.\/\x80-\xff]*)(\$:?\w[-\w]*)\}/
[rep]: callable
[seq]: B=>>
[dep]: Array
(
[{(] => >
)
|
[{(]
| =
|
[cmd]: >{$var}
[seq]: B=>>>
[pat]: /\{(\(\w+\b.*?\))\}/
[rep]: callable
|
[{+]
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /\{\+(.*?)\+\}/
[rep]: <ins>$1</ins>
|
[{-]
| =
|
[cmd]: inline
[seq]: B>>>>=
[pat]: /\{-(.*?)-\}/
[rep]: <del>$1</del>
|