better regex for points