Pakiet: libregexp-grammars-perl (1.058-2)
Odnośniki dla libregexp-grammars-perl
Zasoby systemu Debian:
- Raporty o błędach
- Developer Information
- Dziennik zmian w systemie Debian
- Informacje nt. praw autorskich
- Śledzenie łatek systemu Debian
Pobieranie pakietu źródłowego libregexp-grammars-perl:
- [libregexp-grammars-perl_1.058-2.dsc]
- [libregexp-grammars-perl_1.058.orig.tar.gz]
- [libregexp-grammars-perl_1.058-2.debian.tar.xz]
Opiekunowie:
Zasoby zewnętrzne:
- Strona internetowa [metacpan.org]
Podobne pakiety:
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.
Inne pakiety związane z libregexp-grammars-perl
|
|
|
|
-
- dep: perl
- praktyczny język ekstrakcji i raportowania Larry'ego Walla
Pobieranie libregexp-grammars-perl
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 255,8 KiB | 868,0 KiB | [lista plików] |