iregexp 0.2.0 copy "iregexp: ^0.2.0" to clipboard
iregexp: ^0.2.0 copied to clipboard

An implementation of RFC 9485 I-Regexp: An Interoperable Regexp Format. Checks the I-Regexp for correctness, allows matching by substring or by entire string.

example/example.dart

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
}
2
likes
160
points
330k
downloads

Publisher

verified publisherkarapetov.com

Weekly Downloads

An implementation of RFC 9485 I-Regexp: An Interoperable Regexp Format. Checks the I-Regexp for correctness, allows matching by substring or by entire string.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

petitparser

More

Packages that depend on iregexp