ISBN13 check digit: Difference between revisions
→{{header|langur}}: instead of just checking length of string, use regex for more thorough check
SqrtNegInf (talk | contribs) (Added Perl example) |
Langurmonkey (talk | contribs) (→{{header|langur}}: instead of just checking length of string, use regex for more thorough check) |
||
Line 112:
<lang langur>val .isbn13checkdigit = f(.n) {
val .s = replace(.n, RE/[\- ]/, ZLS)
if
return false
}
|