re.findall() ( ) , , . , | ]] . , , re.finditer(), , .
re.findall(), , , - , . , -, " " 4. ,
p = re.compile(r'''
\[\[
[^:]*? #no :s are allowed
(.*?)
(
\|
|\]\]
)
''', re.VERBOSE)
p.findall(' [[Imae|Lol]] [[sdfef]]')
:
[('Imae', '|'), ('sdfef', ']]')]