correction for regex validation of hard-flush in wp_rewrite rules