Skip to content
New issue

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

Rewrite each header names (and other double quoted strings) to fix case insensitivity #7

Open
asimpletune opened this issue Jun 21, 2023 · 0 comments

Comments

@asimpletune
Copy link
Owner

The RFC5322 spec states

Characters will be specified either by a decimal value
(e.g., the value %d65 for uppercase A and %d97 for lowercase A) or by
a case-insensitive literal value enclosed in quotation marks (e.g.,
"A" for either uppercase or lowercase A).

There's no way to do this in tspeg yet without alternating characters, e.g. [Ff][Oo][Oo] for foo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant