You are viewing a single comment's thread. Return to all comments →
Used the regex directly but yours is cleaner. Good Job
Reg = r"([+-]?(90(.0+)?|[1-8]\d(.\d+)?|\d(.\d+)?), [+-]?(180(.0+)?|1[0-7]\d(.\d+)?|\d{2}(.\d+)?|\d(.\d+)?))"
Seems like cookies are disabled on this browser, please enable them to open this website
Detecting Valid Latitude and Longitude Pairs
You are viewing a single comment's thread. Return to all comments →
Used the regex directly but yours is cleaner. Good Job
Reg = r"([+-]?(90(.0+)?|[1-8]\d(.\d+)?|\d(.\d+)?), [+-]?(180(.0+)?|1[0-7]\d(.\d+)?|\d{2}(.\d+)?|\d(.\d+)?))"