Page MenuHomePhabricator

CirrusSearch's regular expressions do not handle conditionals properly when combined with intitle:
Open, Needs TriagePublic

Description

A search for intitle:/Wikipediaa?a?/ on Commons and enwiki returns nothing, even though this should match the phrase "Wikipedia" in titles. This is probably a bug with CirrusSearch rather than Apache Lucene, since otherwise Lucene regular expressions function properly. Possibly this is due to the search ignoring punctuation, which should be turned off for regexes automatically.

Event Timeline

Jc86035 created this task.Aug 11 2017, 12:27 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt added a subscriber: debt.

intitle doesn't accept regular expressions, we could consider adding this in, but that would be a totally new feature that we'd have to prioritize.