Re: ISBN Regular Expression

From: Ross Singer <rossfsinger_at_nyob>
Date: Sat, 22 Oct 2011 00:20:16 +0100
To: CODE4LIB_at_LISTSERV.ND.EDU
On Sat, Oct 22, 2011 at 12:09 AM, Jonathan Rochkind <rochkind_at_jhu.edu> wrote:

> If you're in ruby, I prefer this gem, which can check ISBN check digit as well as convert from 10 to 13.
>
> https://github.com/entangledstate/isbn

Good to find another isbn validator.  I use: http://isbn-tools.rubyforge.org/

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

-Ross.

> ________________________________________
> From: Code for Libraries [CODE4LIB_at_LISTSERV.ND.EDU] on behalf of Dan Scott [dscott_at_LAURENTIAN.CA]
> Sent: Friday, October 21, 2011 3:40 PM
> To: CODE4LIB_at_LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] ISBN Regular Expression
>
> On Oct 21, 2011 2:03 PM, "Kozlowski,Brendon" <bkozlowski_at_sals.edu> 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
> http://pear.php.net/package/Validate_ISPN/ might be an option.
>
Received on Fri Oct 21 2011 - 19:20:36 EDT