ares-ide
Version:
A browser-based code editor and UI designer for Enyo 2 projects
71 lines (70 loc) • 1.43 kB
JSON
{
"formats": {
"default": "#{streetAddress}\n#{locality} #{region} #{postalCode}\n#{country}",
"nocountry": "#{streetAddress}\n#{locality} #{region} #{postalCode}"
},
"startAt": "end",
"fields": [
{
"name": "postalCode",
"line": "startAtLast",
"pattern": "[0-9]{4}"
},
{
"name": "region",
"line": "last",
"pattern": [
"new south wales",
"nsw",
"queensland",
"qld",
"western australia",
"west australia",
"wa",
"southern australia",
"south australia",
"sa",
"tasmania",
"tas",
"victoria",
"vic",
"australian capital territory",
"capital territory",
"act",
"northern territory",
"nt",
"jervis bay territory",
"jervis bay",
"jbt",
"ashmore and cartier islands",
"ashmore & cartier islands",
"cartier island",
"ashmore island",
"australian antarctic territory",
"christmas island",
"cx",
"cocos and keeling islands",
"cocos & keeling islands",
"cocos (keeling) islands",
"cocos islands",
"keeling islands",
"cc",
"coral sea islands",
"willis island",
"heard island and mcdonald islands",
"heard island & mcdonald islands",
"heard island",
"mcdonald islands",
"hm",
"norfolk island",
"nf"
]
},
{
"name": "locality",
"line": "last",
"pattern": "[A-z\\.\\-']+(\\s+[A-z\\.\\-']+)?$",
"matchGroup": 0
}
]
}