File: control

package info (click to toggle)
libregexp-grammars-perl 1.057-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,320 kB
  • sloc: perl: 53,328; makefile: 2
file content (45 lines) | stat: -rw-r--r-- 2,045 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Source: libregexp-grammars-perl
Section: perl
Priority: optional
Build-Depends: debhelper-compat (= 13), libmodule-build-perl
Build-Depends-Indep:
 libb-hooks-parser-perl (>= 0.16),
 libtest-pod-perl,
 perl,
 perl (>= 5.20) | perl (<< 5.18)
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Salvatore Bonaccorso <carnil@debian.org>
Standards-Version: 4.5.0
Homepage: https://metacpan.org/release/Regexp-Grammars
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libregexp-grammars-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libregexp-grammars-perl.git
Testsuite: autopkgtest-pkg-perl
Rules-Requires-Root: no

Package: libregexp-grammars-perl
Architecture: all
Depends:
 libb-hooks-parser-perl (>= 0.16),
 perl (>= 5.20) | perl (<< 5.18),
 ${misc:Depends},
 ${perl:Depends}
Description: 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
 (?<name>...) 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.