
The titles of notes can contain characters that have a special meaning in regular expressions. Therefore those characters have to be escaped before the title is used in a regular expression. Failure to do so in the code that replaces wikilinks in notes, can otherwise result in broken links.