Skip to content

Version 1.5

Compare
Choose a tag to compare
@rpinchbeck rpinchbeck released this 27 Apr 11:49
· 19 commits to master since this release
e466c16

Add case-insensitivity for char-val nodes per https://tools.ietf.org/html/rfc5234#section-2.3 which states...

ABNF strings are case insensitive and the character set for these strings is US-ASCII.

Hence:

 rulename = "abc"

and:

 rulename = "aBc"

will match "abc", "Abc", "aBc", "abC", "ABc", "aBC", "AbC", and "ABC".

To specify a rule that is case sensitive, specify the characters individually.

For example:

 rulename    =  %d97 %d98 %d99

or

 rulename    =  %d97.98.99

will match only the string that comprises only the lowercase characters, abc.