MediaWiki talk:Titleblacklist: Difference between revisions
Jump to navigation
Jump to search
m (Why the dot prefixes? Would they match if there is no character?) |
m (→Why the dot prefixes?: ".*" is easy) |
||
Line 12: | Line 12: | ||
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 10:38, 15 July 2017 (EDT) | —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 10:38, 15 July 2017 (EDT) | ||
: In the cases using | |||
.* | |||
: it is easy. No or any number of any characters. | |||
: | |||
: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 14:19, 16 July 2017 (EDT) |
Latest revision as of 18:20, 16 July 2017
Regex syntax documentation
For reference documentation on the regular expression syntax used by the TitleBlacklist extension [1] see this resource: PHP PCRE Patterns
—Johan G (Talk | contribs) 10:30, 15 July 2017 (EDT)
Why the dot prefixes?
What do the initial dots do? For example in:
.Technical Support Number.*
Would that not make it a non-match if there is no letter there (i.e. the beginning of the line)? See also Dot.
—Johan G (Talk | contribs) 10:38, 15 July 2017 (EDT)
- In the cases using
.*