Popcorndude added a comment.

I messed with the constraints a bit, and it would be pretty easy to get up to 
~50% with the constraints you outlined (the numbers I gave before may have 
forgotten to skip newlines, lowering the count). Adding + and * covers 3/4, and 
most of the rest could be rewritten without to much trouble (other than 
https://phabricator.wikimedia.org/P1793 and possibly a few others that are 
really basically impossible).

  (\\.|[^(){}\[\]\\]|\{\d+(,\d+)?\}|\[(?!^)(\\\[|\\\]|[^\[\]])*\])*

should work (though it does let character classes through).

After a bit more fiddling:

https://phabricator.wikimedia.org/P234, https://phabricator.wikimedia.org/P274, 
https://phabricator.wikimedia.org/P305, P353, 
https://phabricator.wikimedia.org/P395, https://phabricator.wikimedia.org/P428, 
https://phabricator.wikimedia.org/P529, https://phabricator.wikimedia.org/P866, 
https://phabricator.wikimedia.org/P998, 
https://phabricator.wikimedia.org/P1190, 
https://phabricator.wikimedia.org/P1256, 
https://phabricator.wikimedia.org/P1257, 
https://phabricator.wikimedia.org/P1472, 
https://phabricator.wikimedia.org/P1612, 
https://phabricator.wikimedia.org/P1662, 
https://phabricator.wikimedia.org/P1793, 
https://phabricator.wikimedia.org/P1986, 
https://phabricator.wikimedia.org/P2015 are the only properties where I don't 
see a way to rewrite the format with your constraints plus infinite repetition 
(i.e. no groups), and with a lot of these there probably is a upper limit, it's 
just that no one bothered to write it into the format.

With that in mind, the list shortens to https://phabricator.wikimedia.org/P234, 
https://phabricator.wikimedia.org/P274, https://phabricator.wikimedia.org/P428, 
https://phabricator.wikimedia.org/P1472, 
https://phabricator.wikimedia.org/P1612, 
https://phabricator.wikimedia.org/P1793 (most of which are probably things you 
didn't intend to support anyway).


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

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

To: Popcorndude
Cc: Nikki, Popcorndude, Aklapper, daniel, Wikidata-bugs, aude, GWicke, csteipp



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

Reply via email to