Module talk:String/doc

Pipe character handling and identifying
How do I match a pipe character? How would one find, replace, position, find the length of, or repeat a string with a pipe character in it?

-->

So apparently I need to extract a pagename and its markup from a wikilink.
 * dot can match the pipe character, but that's too vague.
 * %a cannot match the pipe character, but can match square brackets.
 * a pipe can be in the source string, but only if it's between double square brackets. (Len proves that.)

Thanks,

Cpiral (talk) 16:36, 19 May 2015 (UTC)