dojox.regexp.us.state
dojo.require("dojox.validate.regexp");
defined in dojox/validate/regexp.js
A regular expression to match US state and territory abbreviations
Usage
function (/*Object?*/ flags) (view source)
parameter | type | description |
---|---|---|
flags | Object | Optional. allowMilitary Allow military 'states', e.g. Armed Forces Europe (AE). Default is true. |