daniel added a comment.

Using PCRE limits <http://php.net/manual/en/pcre.configuration.php> to restrict 
backtracking and recursion would be one possible approach.

However, this means some expressions will fail to evaluate on some input. There 
is no way to indicate this to the user who created the pattern. Also, it may be 
tricky to detect evaluation failures, and it's unclear how to surface them if 
they are detected.


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

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

To: daniel
Cc: Aklapper, daniel, Wikidata-bugs, aude, Malyacko, P.Copp



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to