Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
fix one lint error
Line 148:
A '''word''' is defined to be only of these characters: alphanumerics ('{{mono|1=a-z A-Z 0-9}}'), hyphen ('{{mono|1=-}}') and underscore ('{{mono|1=_}}'){{nbsp|1}}{{aye|12px}}. All other characters are non-word characters, and so possible word-separators (like {{nowrap|1='{{mono|1=;,()<space>}}'}}{{nbsp}}{{nay|12px}}).
 
:Word examples ''todo check+good examples''
:{{mono|1=foo, foobar, foo-bar foo_bar#)($foo123{{nbsp|3}}Foo. FOO..._foo] 12, -x, zob(28)}}
:{{mono|1={{bg|yellow|foo}}, {{bg|yellow|foobar}}, {{bg|yellow|foo-bar}} {{bg|yellow|foo_bar}}#)(${{bg|yellow|foo123}}{{nbsp|3}}{{bg|yellow|Foo}}. {{bg|yellow|FOO}}...{{bg|yellow|_foo}}] [{{bg|yellow|12}}, {{bg|yellow|-x}}}}