Created
January 13, 2016 14:44
-
-
Save nomoregrapes/f82f0571ec500c39014d to your computer and use it in GitHub Desktop.
Handy regex queries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#super-simple bounding box match | |
bbox\=([\+\-]?[0-9]+\.[0-9]+),([\+\-]?[0-9]+\.[0-9]+),([\+\-]?[0-9]+\.[0-9]+),([\+\-]?[0-9]+\.[0-9]+) | |
#bounding box, strictly matches long,lat,long,lat by limiting to +/-90 and +/-180 | |
bbox\=([\+\-]?([0-9]|[0-8][0-9]|90)\.[0-9]+),([\+\-]?([0-9]|[0-9][0-9]|1[0-7][0-9]|180)\.[0-9]+),([\+\-]?([0-9]|[0-8][0-9]|90)\.[0-9]+),([\+\-]?([0-9]|[0-9][0-9]|1[0-7][0-9]|180)\.[0-9]+) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment