Genau, einmal für den regulären Ausdruck und dann nochmal für die QL:
Please note that in QL you need to escape backslashes: ["name"~"^St\."] results in the regular expression ^St. (which finds every name starting with “St”), while ["name"~"^St\\."] produces the most likely meant regular expression St\. (which finds every name starting with “St.”). This is due to the C escaping rules and doesn’t apply to the XML syntax.
A bracket expression. Matches a single character that is contained within the brackets. For example, [abc] matches “a”, “b”, or “c”
(Quelle: Wikipedia “Regular_expression”)
und [+] matscht genau ein “+”:
[out:xml][timeout:120];
nwr["opening_hours"~"[+] closed$"]({{bbox}});
out geom;
Das liest sich für reguläre Expressionisten doch etwas angenehmer