Regular expression for matching mapcodes