Requirements

Regex in WHERE clause

Regex in FROM and SELECT clause

Grammar design

Regex in WHERE clause

Choice 1. Influx style

Examples:

select city from root.d1.s1 where city =~ /.*/ 
select city from root.d1.s1 where city !~ /Bei.*/

Pros & cons:

[+] Concise and easy to write.

[-] Introduces mental burden for users to be familiar with the new operators and delimiters; not self-explanatory

Choice 1. (Preferred) Postgres / MySQL style