I tested it and it's behaving correctly without them.  I don't feel like hunting down the spec for `[[`'s rules around `=~`, so....  I really don't know.