Skip to main content

Parsing INI Files Using Regexes and Grammars

  • Chapter
  • First Online:
Perl 6 Fundamentals
  • 1167 Accesses

Abstract

You’ve probably seen .ini files before; they are quite common as configuration files on the Microsoft Windows platform, but are also found in many other places such as ODBC configuration files, Ansible’s inventory files, and so on.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://docs.ansible.com/ansible/intro_inventory.html

  2. 2.

    https://modules.perl6.org/dist/Config::INI

  3. 3.

    https://en.wikipedia.org/wiki/Regular_expression

  4. 4.

    http://regex.info/blog/2006-09-15/247

  5. 5.

    https://docs.perl6.org/type/Match

  6. 6.

    https://docs.perl6.org/type/Pair

  7. 7.

    https://docs.perl6.org/type/Grammar

  8. 8.

    https://github.com/rakudo/rakudo/blob/nom/src/Perl6/Grammar.nqp

  9. 9.

    https://en.wikipedia.org/wiki/Comma-separated_values

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Moritz Lenz

About this chapter

Cite this chapter

Lenz, M. (2017). Parsing INI Files Using Regexes and Grammars. In: Perl 6 Fundamentals . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2899-9_9

Download citation

Publish with us

Policies and ethics