Module:Str find word/doc: Difference between revisions

Content deleted Content added
Line 7:
This module is intended to find ''complete words'' in a string. For example, in the string '{{mono|1=alpha, foobar}}' the word '{{mono|1=alpha}}' appears, but the word '{{mono|1=foo}}' does not: there only is the word '{{mono|1=foobar}}'.
 
A '''word''' is defined to be consisting of: alphanumerics (a-z, A-Z, 0-9), the hyphen (-) and the underscore (_). FDor example: {{mono|1=foobar, foo-bar, foo_bar, foo123, _ok, 12}}. All other characters are word-separators (like: {{nowrap|1='{{mono|1=, ; ( ) <space>}}'}}).
 
== Usage ==