simplified regex slightly.