Page MenuHomePhabricator

CirrusSearch whith intitle:// regex returns an "syntax error at unknown: unknown" if the last character searched is "/" (even escaped)
Closed, DuplicatePublicBUG REPORT

Description

Hello,

In order to perform maintenance operations on the templates documentation pages on frwiki, I needed to search all the template documentation sub-subpages (used in some special cases).

So I logically elaborated the following search : template: intitle:/\/Documentation\// (try)

But CirrusSearch returned the following error :

Une erreur s’est produite en recherchant : Erreur de syntaxe de l’expression rationnelle en position unknown : unknown

However, by adding a simple . (=any character) after the \/, the search regex works correctly : template: intitle:/\/Documentation\/./ (try)

And note that the \/ at the beginning of the regex does not seem to cause any problem.

After searching for open bugs, I don't think this problem has been reported yet. But I may have missed it because of my English level.

Thank you.

(sorry for my bad English, an automatic translator was partially used)