[ 
http://issues.apache.org/jira/browse/VALIDATOR-191?page=comments#action_12418887
 ] 

Niall Pemberton commented on VALIDATOR-191:
-------------------------------------------

Need to remove the "/" from the start and end of the regular expression:

    private static final String ISBN_PATTERN =
        "^" + GROUP + SEP + PUBLISHER + SEP + TITLE + SEP + CHECK + "$";


> ISBNValidator has dependency to org.apache.oro.text.perl.Perl5Util
> ------------------------------------------------------------------
>
>          Key: VALIDATOR-191
>          URL: http://issues.apache.org/jira/browse/VALIDATOR-191
>      Project: Commons Validator
>         Type: Improvement

>     Versions: 1.3.0 Release, 1.2.0 Release, 1.3.1
>     Reporter: Matthias Weßendorf
>     Priority: Minor
>  Attachments: isbn_validator.patch
>
> Hey,
> since Java 1.4 supports RegExpr. itself is it possible to remove the 
> "org.apache.oro.text.perl.Perl5Util"
> from ISBNValidator?
> The org.apache.oro.** dependency is also there for the regExp validator.
> Any ideas on that?
> Or is this a "no no", since a Java 1.4 dep. is not suitable.
> Thanks,
> Matthias

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to