Regex for validating OAI-Identifier is too strict

Create issue
Issue #16 resolved
Toni Sissala created an issue

The current regex is "oai:[a-zA-Z][a-zA-Z0-9\-]*(\.[a-zA-Z][a-zA-Z0-9\-]+)+:[a-zA-Z0-9]+[a-zA-Z0-9?_()-]*”

The standard’s regex is "oai:[a-zA-Z][a-zA-Z0-9\-]*(\.[a-zA-Z][a-zA-Z0-9\-]*)+:[a-zA-Z0-9\-_\.!~\*'\(\);/\?:@&=\+$,%]+"

Comments (1)

  1. Log in to comment