Update regexp to accept periods