We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In #305 the fragment matching was improved. However, the current regex does not allow pct-encoded entities (see https://datatracker.ietf.org/doc/html/rfc3986#section-3.5) to be present.
pct-encoded
The RFC states that:
fragment = *( pchar / "/" / "?" )
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
pct-encoded = "%" HEXDIG HEXDIG
The used regular expression does not match the following valid example:
import re fragment = '2022%201040%20(Cornelius%20Morgan%20G).pdf' re.fullmatch(r"[0-9a-zA-Z?/:@\-._~!$&'()*+,;=]*", fragment)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
In #305 the fragment matching was improved. However, the current regex does not allow
pct-encoded
entities (see https://datatracker.ietf.org/doc/html/rfc3986#section-3.5) to be present.The RFC states that:
fragment = *( pchar / "/" / "?" )
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
pct-encoded = "%" HEXDIG HEXDIG
The used regular expression does not match the following valid example:
The text was updated successfully, but these errors were encountered: