v0.2.0
iregexp
RFC 9485 I-Regexp: 상호 운용 가능한 정규 표현식 형식의 구현입니다. I-Regexp의 정확성을 검사하고 부분 문자열 또는 전체 문자열로 매칭할 수 있습니다.
3좋아요 22.7만30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
I-Regexp의 다트 구현: 상호 운용 가능한 정규 표현식 형식
^7.0.0^6.0.0^1.21.1^0.0.4아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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
}