I would like to search for all admin levels with the values between 7 to 11 using the following query (http://overpass-turbo.eu/s/Dn5):
(relation[admin_level~"^[7-11]$"]["wikidata"]({{bbox}});
The error says:
static error: Invalid regular expression: "^[7-11]$"
Surprisingly a search query with ^[3-6]$
works perfectly fine. So it seems to be related to the 2 digit number.
Does anybody know how to improve this query?