Update [gemrank] regex to match "1st" (#2743)
See https://circleci.com/gh/badges/shields/34350
This commit is contained in:
@@ -4,7 +4,7 @@ const Joi = require('joi')
|
||||
|
||||
const isOrdinalNumber = Joi.string().regex(/^[1-9][0-9]+(ᵗʰ|ˢᵗ|ⁿᵈ|ʳᵈ)$/)
|
||||
const isOrdinalNumberDaily = Joi.string().regex(
|
||||
/^[1-9][0-9]+(ᵗʰ|ˢᵗ|ⁿᵈ|ʳᵈ) daily$/
|
||||
/^[1-9][0-9]*(ᵗʰ|ˢᵗ|ⁿᵈ|ʳᵈ) daily$/
|
||||
)
|
||||
|
||||
const t = (module.exports = require('../create-service-tester')())
|
||||
|
||||
Reference in New Issue
Block a user