2016-08-10 8:19 GMT+02:00 John Mark Vandenberg <[email protected]>:

> Does this one suit your purposes:
>
> ([αβγδφωλμπ]-)?([([]*[A-Z☐][ub]?[a-z]?[₁₂₃₄₅₆₇₈₉₀]*(\)?[¹²
> ³⁴⁵⁶⁷⁸⁹⁰]*[⁺⁻]?)?[])|,₁₂₃₄₅₆₇₈₉₀]*(·\(?[-0-9.]*n?\)?)?)+
>
> https://www.wikidata.org/wiki/Property:P274
>

This should be another kind of chemical formulae, but I will test it. What
is ☐?
I never knew that WD stored regexes, but I like it.


-- 
Bináris
_______________________________________________
pywikibot mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot

Reply via email to