Lucas_Werkmeister_WMDE added a comment.

That said, a slightly modified version of your regex (a*a*b$) does cause long query runtimes when tested against a long string of as in WDQS.

I can’t reproduce this anymore – unfortunately I didn’t record which query I used for this, but now this query runs almost instantly. Since I’d really like to move ahead with this, I’ve filed T214378 for this improvement (because that only applies to a subset of regexes, so we can keep this task around for safely evaluating all user-provided regexes).


TASK DETAIL
https://phabricator.wikimedia.org/T176312

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Anomie, Smalyshev, tstarling, daniel, GWicke, Joe, Lucas_Werkmeister_WMDE, Krinkle, Aklapper, Nandana, kostajh, Lahi, Gq86, GoranSMilovanovic, QZanden, merbst, LawExplorer, _jensen, Agabi10, D3r1ck01, SBisson, Wikidata-bugs, aude, jayvdb, fbstj, santhosh, Jdforrester-WMF, Mbch331, Rxy, Jay8g, Ltrlg, bd808, Legoktm
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to