Remove an unnecessary [ in sample regexp