From 23f53bc263e30f27eaa608816795595bb77dddaa Mon Sep 17 00:00:00 2001 From: Jeff Ober Date: Tue, 21 Jan 2020 12:17:53 -0500 Subject: [PATCH] Fix POD in TOML::Tiny::Grammar --- Changes | 1 + README.pod | 12 +++++++++++- lib/TOML/Tiny.pm | 10 ++++++++++ lib/TOML/Tiny/Grammar.pm | 23 ++++++++++++++++++++++- 4 files changed, 44 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 5e874ad..61ffaec 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,5 @@ {{$NEXT}} +-POD fixes for TOML::Tiny::Grammar 0.04 2020-01-21 -Remove superfluous dependency on DateTime::Format::RFC3339, which was only diff --git a/README.pod b/README.pod index 45bbaf0..b65a11d 100644 --- a/README.pod +++ b/README.pod @@ -8,7 +8,7 @@ TOML::Tiny - a minimal, pure perl TOML parser and serializer =head1 VERSION -version 0.04 +version 0.05 =head1 SYNOPSIS @@ -219,6 +219,16 @@ terminating with a backslash correctly in multilne strings: C includes support for integers specified in binary, octal or hex as well as the special float values C and C. +=head1 SEE ALSO + +=over + +=item L + +Regexp scraps used by C to parse TOML source. + +=back + =head1 ACKNOWLEDGEMENTS Thanks to L for encouraging their diff --git a/lib/TOML/Tiny.pm b/lib/TOML/Tiny.pm index 9d9d521..7f3a493 100644 --- a/lib/TOML/Tiny.pm +++ b/lib/TOML/Tiny.pm @@ -276,6 +276,16 @@ terminating with a backslash correctly in multilne strings: C includes support for integers specified in binary, octal or hex as well as the special float values C and C. +=head1 SEE ALSO + +=over + +=item L + +Regexp scraps used by C to parse TOML source. + +=back + =head1 ACKNOWLEDGEMENTS Thanks to L for encouraging their diff --git a/lib/TOML/Tiny/Grammar.pm b/lib/TOML/Tiny/Grammar.pm index 28dab59..45df3ec 100644 --- a/lib/TOML/Tiny/Grammar.pm +++ b/lib/TOML/Tiny/Grammar.pm @@ -1,5 +1,5 @@ package TOML::Tiny::Grammar; -# ABSTRACT: exports regex definition of TOML grammar +# ABSTRACT: exports regex definitions used to parse TOML source use strict; use warnings; @@ -148,36 +148,57 @@ Exports various regexex for parsing TOML source. =head1 PATTERNS =head2 White space and ignorables + =head3 $WS + =head3 $CRLF + =head3 $EOL + =head3 $Comment =head2 Keys + =head3 $BareKey + =head3 $QuotedKey + =head3 $SimpleKey + =head3 $DottedKey + =head3 $Key =head2 Values + =head3 $Boolean =head3 $Escape + =head3 $StringLiteral + =head3 $MultiLineStringLiteral + =head3 $BasicString + =head3 $MultiLineString + =head3 $String =head3 $Date + =head3 $Time + =head3 $DateTime =head3 $Hex + =head3 $Oct + =head3 $Bin + =head3 $Dec + =head3 $Integer =head3 $Float -- 2.30.2