User:Veledan/Sandbox/Test regex

This a test string containing wikipedia-style wikilinks for use in testing regexes for spotting links.

second line of pipe third and final line]]
 * 1: a very simple link
 * piped text
 * caption [embedded ext link] caption
 * caption [extlink]
 * [[5: a link whose piping spans multiple lines|initial pipe
 * caption [[7: embedded wikilink caption]]
 * [[8: an image link with multi-pipings spanning multiple lines and with more complex wikilink abutting closing brackets|300px|caption

embedded piping]]