Change STRING TO STRING_32

This commit is contained in:
YNH Webdev
2014-03-05 14:54:45 +01:00
parent 7ca62463b7
commit 605a094910
41 changed files with 177 additions and 177 deletions

View File

@@ -21,7 +21,7 @@ create
feature {NONE} -- Initialization
make (h: like handler; e: STRING)
make (h: like handler; e: STRING_32)
do
make_validator (e)
handler := h

View File

@@ -21,7 +21,7 @@ create
feature {NONE} -- Initialization
make (e: STRING)
make (e: STRING_32)
-- Initialize with specified error message which will be displayed on validation failure
do
make_regexp_validator ("^[0-9]+(\.[0-9]*)?$|^\.[0-9]+$", e)

View File

@@ -21,7 +21,7 @@ create
feature {NONE} -- Initialization
make (e: STRING)
make (e: STRING_32)
-- Initialize with specified error message which will be displayed on validation failure
do
make_regexp_validator ("^[a-zA-Z0-9._%%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$", e)

View File

@@ -23,7 +23,7 @@ create
feature {NONE} -- Initialization
make (m: INTEGER; e: STRING)
make (m: INTEGER; e: STRING_32)
-- Initialize with specified maximum filesize and error message which will be displayed on validation failure
do
make_validator (e)

View File

@@ -23,7 +23,7 @@ create
feature {NONE} -- Initialization
make (m: INTEGER; e: STRING)
make (m: INTEGER; e: STRING_32)
-- Initialize with specified maximum and error message which will be displayed on validation failure
do
make_validator (e)

View File

@@ -23,7 +23,7 @@ create
feature {NONE} -- Initialization
make (m: INTEGER; e: STRING)
make (m: INTEGER; e: STRING_32)
-- Initialize with specified minimum and error message which will be displayed on validation failure
do
make_validator (e)

View File

@@ -11,7 +11,7 @@ class
inherit
WSF_VALIDATOR [STRING]
WSF_VALIDATOR [STRING_32]
rename
make as make_validator
redefine
@@ -23,7 +23,7 @@ create
feature {NONE} -- Initialization
make (r, e: STRING)
make (r, e: STRING_32)
-- Initialize with specified regular expression and error message which will be displayed on validation failure
do
make_validator (e)
@@ -33,7 +33,7 @@ feature {NONE} -- Initialization
feature -- Implementation
is_valid (input: STRING): BOOLEAN
is_valid (input: STRING_32): BOOLEAN
do
--Only compile when used
if not regexp.is_compiled then
@@ -55,7 +55,7 @@ feature -- State
feature -- Properties
regexp_string: STRING
regexp_string: STRING_32
regexp: REGULAR_EXPRESSION

View File

@@ -11,7 +11,7 @@ deferred class
feature {NONE} -- Initialization
make (e: STRING)
make (e: STRING_32)
-- Initialize with specified error message to be displayed on validation failure
do
error := e
@@ -34,6 +34,6 @@ feature -- Access
feature -- Properties
error: STRING
error: STRING_32
end