Apparent subscript will be treated as regex

Throw the same warning as STD does for things like
@var[0], $var{a} and $var<a> in regexes.