@datasworn/core
Version:
Typings and JSON schema common to Datasworn. This is a pre-release package, provided for developer feedback. It will almost certainly receive breaking changes.
12 lines (11 loc) • 320 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Regular expressions used to validate Datasworn ID elements.
*/
var Regex;
(function (Regex) {
Regex.DictKey = /^[a-z][a-z_]*$/;
Regex.RulesPackageId = /^[a-z][a-z0-9_]{3,}$/;
})(Regex || (Regex = {}));
exports.default = Regex;