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
}