commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lutianxiang (JIRA)" <j...@apache.org>
Subject [jira] Created: (VALIDATOR-196) GenericValidator#matchRegexp
Date Fri, 14 Jul 2006 04:48:31 GMT
GenericValidator#matchRegexp
----------------------------

         Key: VALIDATOR-196
         URL: http://issues.apache.org/jira/browse/VALIDATOR-196
     Project: Commons Validator
        Type: Bug

    Versions: 1.3.1    
 Environment: Windows 2000 ; J2SDK 1.4.2 ; Eclipse 3.1.2
    Reporter: lutianxiang


GenericValidator.matchRegexp("as*&^%dfasd1314213","[a-zA-Z0-9]*");
User this method cannot get FALSE value

In this method Source like this...
.........
return matcher.match("/" + regexp + "/", value);

should be 
..........
return matcher.match("//" + regexp + "//", value);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message