(*)use regexp instead of string compare