How to Install and Uninstall libregexp-grammars-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "libregexp-grammars-perl" package

Please follow the step by step instructions below to install libregexp-grammars-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libregexp-grammars-perl

2. Uninstall "libregexp-grammars-perl" package

Please follow the step by step instructions below to uninstall libregexp-grammars-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libregexp-grammars-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libregexp-grammars-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libregexp-grammars-perl
Priority: optional
Section: universe/perl
Installed-Size: 504
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 1.045-1
Depends: libb-hooks-parser-perl (>= 0.16), perl (>= 5.20) | perl (<< 5.18), perl
Filename: pool/universe/libr/libregexp-grammars-perl/libregexp-grammars-perl_1.045-1_all.deb
Size: 277272
MD5sum: d007e1efc0b9f919f146f1f05f1455bc
SHA1: d4cc9f8a607f7f1d6b30567c01477407f81cf0c6
SHA256: ef33cc0396d91d263a1e7abc50045268945e9620dd0722e3441894d9d70ba749
Description-en: Perl module to add grammatical parsing features to Perl 5.10 regexes
Regexp::Grammars adds a small number of new regex constructs that can be used
within Perl 5.10 patterns to implement complete recursive-descent parsing.
.
Perl 5.10 already supports recursive=descent matching, via the new
(?...) and (?&name) constructs. This technique makes it possible
to use regexes to recognize complex, hierarchical--and even recursive--
textual structures. The problem is that Perl 5.10 doesn't provide any
support for extracting that hierarchical data into nested data
structures. In other words, using Perl 5.10 you can match complex data,
but not parse it into an internally useful form.
.
An additional problem when using Perl 5.10 regexes to match complex
data formats is that you have to make sure you remember to insert whitespace-
matching constructs (such as \s*) at every possible position where the
data might contain ignorable whitespace. This reduces the readability
of such patterns, and increases the chance of errors (typically caused
by overlooking a location where whitespace might appear).
.
The Regexp::Grammars module solves both those problems.
Description-md5: 726e098899d4a7fbdb4d0558679e35c7
Homepage: https://metacpan.org/release/Regexp-Grammars
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu