0.6.0 • Published 3 years ago

@springcomp/iregexp v0.6.0

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
3 years ago

I-Regexp Checker

IRegexpChecker is pushdown automaton that very quickly determines if a regular expression using a specified interoperable subset is syntactically correct.

It supports the I-Regexp specification.

Building

npm install && npx jest --coverage

Usage

import iregexp from '@springcomp/iregexp';

const regex = second as string;
try{
  iregexp.ensureExpression(regex);
}
catch (err) {
  ...
}

Known limitations

This currently fails to check the following expressions as invalid:

  • [z-a]: reversed range.
  • a{9,3}:reversed min/max quantities.
0.6.0

3 years ago

0.5.0

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago