'use strict';

const integerPattern = /^-?\d+$/;
const numberPattern = /^-?\d+(\.\d+)?$/;
const positiveIntegerPattern = /^[1-9]\d*$/;
const nonNegativeIntegerPattern = /^\d+$/;
const positiveNumberPattern = /^(?!0(\.0+)?$)\d+(\.\d+)?$/;
const nonNegativeNumberPattern = /^\d+(\.\d+)?$/;
const moneyPattern = /^\d+(\.\d{1,2})?$/;
const nonZeroNumberPattern = /^(?!0(\.0+)?$)\d+(\.\d+)?$/;

exports.integerPattern = integerPattern;
exports.moneyPattern = moneyPattern;
exports.nonNegativeIntegerPattern = nonNegativeIntegerPattern;
exports.nonNegativeNumberPattern = nonNegativeNumberPattern;
exports.nonZeroNumberPattern = nonZeroNumberPattern;
exports.numberPattern = numberPattern;
exports.positiveIntegerPattern = positiveIntegerPattern;
exports.positiveNumberPattern = positiveNumberPattern;
//# sourceMappingURL=number.js.map
