MediaWiki talk:Titleblacklist

From FlightGear wiki
Revision as of 18:20, 16 July 2017 by Johan G (talk | contribs) (→‎Why the dot prefixes?: ".*" is easy)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
.*
it is easy. No or any number of any characters.
Johan G (Talk | contribs) 14:19, 16 July 2017 (EDT)