use regexp instead of space.