RegexUtils class
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited
Static Methods
Constants
- email → const Pattern
-
r'^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$'
- name → const Pattern
-
contains only alphanumeric, dot & space character
r'^[a-zA-Z0-9. ]*$'
- password → const Pattern
-
contains only alphanumeric
with selected special character & length from 6-25
r'^[a-zA-Z0-9.\-_!@#$%]{6,25}$'
- username → const Pattern
-
begin with one letter, contains only alphanumeric
and only one dot or underscore in a row (not accept at the end)
r'^[a-zA-Z](?:[_.]?[a-zA-Z0-9]+)*$'