0.6.0 • Published 1 year ago

@springcomp/iregexp v0.6.0

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
1 year 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

1 year ago

0.5.0

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago