Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
:TOC: [[#code]] ({{edit|Module:Str find word}})
{{Module:Str find word/links/doc}}
{{Module rating|pre-alpha}}
Line 13:
:False: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta|word=gamma}}</nowiki></code> → >{{#invoke:Str find word|main |source=alpha, beta|word=gamma}}<
''Complete words: the complete word is '{{mono|1=foobar}}'.
''Multiple word check'': The search can be extended to check for
''AND''-list of words, all words must be present:
Line 24 ⟶ 25:
:False: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma|orwords=beta, omega}}</nowiki></code> → >{{#invoke:Str find word|main |source=alpha, beta, gamma|orwords=beta, omega}}<
The module is aimed at template code usage. <small>(The editor does not have to apply Lua patterns like {{code|1=[%a%d]*}})</small>.
== Usage ==
:{{red|This documentation is not up to date}}. See template {{tl|Str find word}}.
|