arineng / jcrvalidator

JSON Content Rules Validator
ISC License
3 stars 5 forks source link

Fixed overzealous conversion of _ underscores to - hyphens in ABNF extractor #103

Closed codalogic closed 6 years ago

codalogic commented 6 years ago

Noticed that my ABNF extractor, incorrectly converted "_" to "-" giving the rule:

name             = ALPHA *( ALPHA / DIGIT / "-" / "-" )

instead of:

name             = ALPHA *( ALPHA / DIGIT / "-" / "_" )

This PR fixes it. (Important for the RFC.)