User:WindBOT/CoreSource: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 292: Line 292:
if len(content) > 4 and content[:2] == '{{' and content[-2:] == '}}':
if len(content) > 4 and content[:2] == '{{' and content[-2:] == '}}':
innerRegex = compileRegex(r'\s*\|\s*')
innerRegex = compileRegex(r'\s*\|\s*')
itemRegex = compileRegex(r'^(\S[^=]*?)\s*=\s*(.*?)$')
itemRegex = compileRegex(r'^(\S[^=]*?)\s*=\s*([\s\S]*?)$')
content = content[2:-2]
content = content[2:-2]
content, self.links = linkExtract(content)
content, self.links = linkExtract(content)

Navigation menu