TOML::...Grammar(3pm)
β¨ TOML::Tiny::Grammar π
okay bestie, so the actual module name is TOML::Tiny::Grammar (the manpage header just shortens it to TOML::...Grammar because it's got places to be) β and it lives in the User Contributed Perl Documentation corner of your system. perl v5.40.1, dated 2026-06-13, the whole thing is on it. let's go π«Ά
πΈ NAME πΈ
TOML::Tiny::Grammar β it exports the regex definitions that get used to parse TOML source. that's the whole job. it hands out regexes like candy π
π VERSION π
version 0.22
β¨ SYNOPSIS β¨
like, this is how you'd actually use it:
use TOML::Tiny::Grammar;
if ($src =~ /$MultiLineString/) {
...
}
see how the regex vars just show up in your namespace ready to go? iconic.
π¦ DESCRIPTION π¦
Exports various regexes for parsing TOML source. that's it, that's the vibe. you import it, you get a whole lil collection of pattern variables, you match things. no cap. π
ngl the original says "regexex" and honestly? adorable. we all knew what they meant. it's regexes. moving on π
π PATTERNS π
here's the full lineup of every pattern variable this module exports, sorted the way the original sorts them so nothing gets lost:
π White space and ignorables π
the "please ignore this, it's just vibes" patterns:
$WS$CRLF$EOL$Comment
π Keys π
everything you need to name a thing:
$BareKey$QuotedKey$SimpleKey$DottedKey$Key
π Values π
the main characters, fr fr:
$Boolean$Escape$StringLiteral$MultiLineStringLiteral$BasicString$MultiLineString$String$Date$Time$DateTime$Hex$Oct$Bin$Dec$Integer$Float
β ...and one more that was living down here all on its own β
$SpecialFloatβ yes it's listed separately in the original, no I will not be merging it into the Values list, we respect the layout in this house π
π AUTHOR π
Jeff Ober <sysread@fastmail.fm> β the legend themself.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2026 by Jeff Ober.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
and that's the whole page, bestie π this one shipped as part of the User Contributed Perl Documentation with perl v5.40.1, dated 2026-06-13 β so if you're reading it, that's the exact edition you've got in your hands. go forth and regex πΈβ¨
π¦ where this page comes from
- ubuntu stonking: libtoml-tiny-perl 0.22-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms