Module:languages/data/patterns

Mula Wiktionary

Ang dokumentasyon ng ng modyul na ito ay maaaring likhain sa Module:languages/data/patterns/doc

-- Capture patterns used by [[Module:languages]] to prevent formatting from being disrupted while text is being processed.
return {
	"((\127'\"`UNIQ%-%-%l+%-%x+%-QINU`\"'\127))", -- Strip marker
	"((<[^<>]+>))", -- HTML tag
	"('*(''').-'*('''))", -- Bold
	"('*('').-'*(''))", -- Italics
	"((%[%[)[^%[|]-(%]%]))", -- Bare internal link
	"((%[%[)[^%[|]-(|).-(%]%]))", -- Piped internal link
	"((%[)[^[%]]*(%]))", -- External link
	"((https?://%S+))" -- URL
}