RegexUtils class

Constructors

RegexUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

check(String text, String pattern, {bool caseSensitive = true}) bool

Constants

alphabetic → const String
alphanumeric → const String
email → const String
RFC 5322 compliant regex (https://stackoverflow.com/a/201378/19622959 or http://emailregex.com/)
fileNameFromUrl → const String
name → const String
contains only alphanumeric, dot & space character
numeric → const String
password → const String
contains only alphanumeric with selected special character & length from 8-25
url → const String
username → const String
begin with one letter, contains only alphanumeric and only one dot or underscore in a row (not accept at the end)