Content deleted Content added
sync from sandbox; |
sync doi() from sandbox to fix minor error because same time fixed lua script error in ~/Date validation; |
||
Line 417:
prefix=handler.prefix,id=id,separator=handler.separator, encode=handler.encode, access=access}) .. (inactive or '')
local registrant = id:match ('^10%.([^/]+)/[^%s–]-[^%.,]$'); -- registrant set when doi has the proper basic form
Line 430 ⟶ 425:
'^[^1-9]%d%d%d$', -- 4 digits without subcode (0xxx); accecpts: 1000–9999
'^%d%d%d%d%d%d+', -- 6 or more digits
'^%d%d?%d?
'^5555$', -- test registrant will never resolve
}
|