Minor update to test polling regex

Courtesy of @faheemmughal.

Contributed by @pat