raku-community-modules / URI

Raku realization of URI — Uniform Resource Identifiers handler
Artistic License 2.0
3 stars 14 forks source link

kebab case grammars to conform with URI RFC #14

Closed ronaldxs closed 9 years ago

ronaldxs commented 9 years ago

The BNF for RFC 3986 uses names with kebab case and since Perl6 allows it so should the grammars in this module. This change moves most names in the grammars to kebab case with the exception of some character classes which, as discussed in a comment at the top of the URI grammar, cannot yet be moved to kebab case because of a very recently fixed bug with kebab case and combined character classes.

ronaldxs commented 9 years ago

Work finishes kebab casing of grammar. For rakudo star, kebab casing will break basic authentication in LWP::Simple module but a clean fix for that has been added to both URI and LWP::Simple by adding userinfo method also in Perl 5 URI module. After merging this PR please merge my PR for LWP::Simple.