regex_range 0.1.0+1 copy "regex_range: ^0.1.0+1" to clipboard
regex_range: ^0.1.0+1 copied to clipboard

Generates a Regular Expression that matches a range of numbers or characters. Use the generated RegExp or pattern.

example/main.dart

import 'package:regex_range/regex_range.dart';

void main() {
  print(range(-10, 10, exact: true).hasMatch('5'));
  print(range(-10, 10, exact: true).hasMatch('-5'));
  print(range(0, 255).pattern);
}
2
likes
160
points
30
downloads

Publisher

verified publisherdrafakiller.com

Weekly Downloads

Generates a Regular Expression that matches a range of numbers or characters. Use the generated RegExp or pattern.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on regex_range