iregexp

Last updated:

0 purchases

iregexp Image
iregexp Images
Add to Cart

Description:

iregexp

iregexp #
A Dart implementation of I-Regexp: An Interoperable Regexp Format
This implementation is validating, that is IRegexp(pattern) throws a formatException if pattern does not conform to I-Regexp.
Internally it uses the built-in RegExp class.
import 'package:iregexp/iregexp.dart';

// An example of using the IRegexp class.
void main() {
final iRegexp = IRegexp('[0-9]+.[0-9]+.[0-9]+');
print(iRegexp.matches('1.2.3')); // true
print(iRegexp.matches('foo')); // false
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.