FLUTTER ECOSYSTEM

f3ath/iregexp

I-Regexp 的 Dart 实现:一种可互操作的正则表达式格式

iregexp 项目封面
Stars
2
Forks
0
最近推送(UTC)
2025年7月6日
项目状态
未归档
Alexey GitHub avatar
GITHUB User

Alexey ↗

If I had ever learnt, I should have been a great proficient.

Salesforce Silicon Valley, CA
语言Dart

此仓库发布的插件

使用的依赖

依赖清单 4 项

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

iregexp

A Dart implementation of RFC 9485 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
}