On Sat, Oct 22, 2011 at 12:09 AM, Jonathan Rochkind <[log in to unmask]> wrote:

> If you're in ruby, I prefer this gem, which can check ISBN check digit as well as convert from 10 to 13.

Good to find another isbn validator.  I use:

Not sure why there's two nearly identical gems, exactly.


> ________________________________________
> From: Code for Libraries [[log in to unmask]] on behalf of Dan Scott [[log in to unmask]]
> Sent: Friday, October 21, 2011 3:40 PM
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] ISBN Regular Expression
> On Oct 21, 2011 2:03 PM, "Kozlowski,Brendon" <[log in to unmask]> wrote:
>> Oh man. I can't believe I didn't think to check Drupal...or GitHub. Thank
> you both! The Ruby version is super simple, but I believe for my purposes
> (coverted to PHP anyway) it should suffice. The Drupal module's version also
> seems to go the route of simple as opposed to exact matching.
> Mmm, for PHP, the PEAR Validate_ISPN package
> might be an option.