remove WebGUI::Utility::emailRegex
This commit is contained in:
parent
10aa605304
commit
a34f51a903
5 changed files with 5 additions and 24 deletions
|
|
@ -57,20 +57,6 @@ These subroutines are available from this package:
|
|||
|
||||
=cut
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 emailRegex ( )
|
||||
|
||||
Returns a regex object that can be used to validate email addresses.
|
||||
|
||||
=cut
|
||||
|
||||
sub emailRegex {
|
||||
return qr/^([0-9a-zA-Z]+[-._+&])*\w+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,7}$/;
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 isBetween ( value, first, second )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue