Module talk:String/doc

Pipe character handling and identifying
How do I match a pipe character? How would one find, replace, position, or a pipe character?

-->

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 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)