DOKK / manpages / debian 11 / libtoml-tiny-perl / TOML::Tiny::Grammar.3pm.en
TOML::Tiny::Grammar(3pm) User Contributed Perl Documentation TOML::Tiny::Grammar(3pm)

TOML::Tiny::Grammar - exports regex definitions used to parse TOML source

version 0.11

  use TOML::Tiny::Grammar;
  if ($src =~ /$MultiLineString/) {
    ...
  }

Exports various regexex for parsing TOML source.

$WS

$CRLF

$EOL

$Comment

$BareKey

$QuotedKey

$SimpleKey

$DottedKey

$Key

$Boolean

$Escape

$StringLiteral

$MultiLineStringLiteral

$BasicString

$MultiLineString

$String

$Date

$Time

$DateTime

$Hex

$Oct

$Bin

$Dec

$Integer

$Float

Jeff Ober <sysread@fastmail.fm>

This software is copyright (c) 2021 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.

2021-02-20 perl v5.32.1