aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skate/schema.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/skate/schema.go b/skate/schema.go
index 6f872eb..baead09 100644
--- a/skate/schema.go
+++ b/skate/schema.go
@@ -11,8 +11,9 @@ import (
)
var (
- isbn10Regex = regexp.MustCompile(`[0-9xX -]{10,18}`)
- isbn13Regex = regexp.MustCompile(`9[0-9xX -]{12,20}`)
+ isbn10Regex = regexp.MustCompile(`[O0-9xX -]{10,18}`)
+ isbn13Regex = regexp.MustCompile(`9[O0-9xX -]{12,20}`)
+
)
// RefToRelease converts a ref to a release. Set a extra.skate.status flag to