This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch feature/validation
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/validation by this
push:
new b37f94e Fixed regex validator
b37f94e is described below
commit b37f94ef1cf02b993a777d3f6b1bd7aa331b6084
Author: Harbs <[email protected]>
AuthorDate: Sun Oct 1 03:38:15 2017 +0300
Fixed regex validator
---
.../org/apache/flex/utils/validation/RegExpValidator.as | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git
a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/validation/RegExpValidator.as
b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/validation/RegExpValidator.as
index 66e018f..8b34b09 100644
---
a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/validation/RegExpValidator.as
+++
b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/validation/RegExpValidator.as
@@ -19,7 +19,7 @@
package org.apache.flex.utils.validation
{
-
+ //TODO Make PAYG
// [ResourceBundle("validators")]
@@ -228,7 +228,7 @@ package org.apache.flex.utils.validation
/**
* Error message when there is no regular expression specifed.
- * The default value is "The expression is missing."
+ * @default "The expression is missing."
*
* @langversion 3.0
* @playerversion Flash 9
@@ -248,9 +248,7 @@ package org.apache.flex.utils.validation
noExpressionErrorOverride = value;
_noExpressionError = value != null ?
- value :
- resourceManager.getString(
- "validators", "noExpressionError");
+ value : "The expression is missing.";
}
//----------------------------------
@@ -272,7 +270,7 @@ package org.apache.flex.utils.validation
/**
* Error message when there are no matches to the regular expression.
- * The default value is "The field is invalid."
+ * @default "The field is invalid."
*
* @langversion 3.0
* @playerversion Flash 9
@@ -292,9 +290,7 @@ package org.apache.flex.utils.validation
noMatchErrorOverride = value;
_noMatchError = value != null ?
- value :
- resourceManager.getString(
- "validators", "noMatchError");
+ value : "The field is invalid.";
}
//--------------------------------------------------------------------------
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].