MediaWiki talk:Titleblacklist: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(+ Link to regex documentation)
 
m (Why the dot prefixes? Would they match if there is no character?)
Line 3: Line 3:


—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 10:30, 15 July 2017 (EDT)
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|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 [http://php.net/manual/en/regexp.reference.dot.php Dot].
—[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 10:38, 15 July 2017 (EDT)

Revision as of 14:39, 15 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)