MediaWiki – Regular Expression Flavor Used in Search and Replace

mediawikiregex

I recently discovered this search and replace dialog in MediaWiki and have been using it more and more:

MediaWiki search and replace dialog

But I can't seem to find the documentation on it. On the MediaWiki website I always find info about some extension that does search and replace over an entire wiki when I try to search for this.

I can't tell which regex dialect the dialog uses or which regex features it does and doesn't support. It ought most likely to be JavaScript's dialect yet ^ didn't seem to work nor did other things I tried, so now I'm looking to read the manual, if there is one …

Best Answer

It is a plain Javascript regex. You probably made some kind of typo.