| 19117 | // todo: add standard types, enum types, from disk types |
| 19118 | class AbstractParsersAtomTestParser extends Particle {} |
| 19119 | class ParsersRegexTestParser extends AbstractParsersAtomTestParser { |
| 19120 | isValid(str) { |
| 19121 | if (!this._regex) this._regex = new RegExp("^" + this.content + "$") |
| 19122 | return !!str.match(this._regex) |
nothing calls this directly
no outgoing calls
no test coverage detected