You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2013/01/13 12:23:55 UTC
svn commit: r1432590 -
/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
Author: lukaszlenart
Date: Sun Jan 13 11:23:55 2013
New Revision: 1432590
URL: http://svn.apache.org/viewvc?rev=1432590&view=rev
Log:
WW-3894 updates JavaDoc to match new implementation
Modified:
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java?rev=1432590&r1=1432589&r2=1432590&view=diff
==============================================================================
--- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java (original)
+++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.java Sun Jan 13 11:23:55 2013
@@ -39,8 +39,11 @@ import java.util.regex.Pattern;
* </ul>
* You can mix normal params with expression aware params but thus was not tested
* <!-- END SNIPPET: parameters -->
- *
- *
+ *
+ * <!-- START SNIPPET: parameters-warning -->
+ * Do not use ${regexExpression}, ${caseSensitiveExpression} and ${trimExpression} as an expression as this will turn into infinitive loop!
+ * <!-- END SNIPPET: parameters-warning -->
+ *
* <pre>
* <!-- START SNIPPET: example -->
* <validators>