SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Text-Scraper rpm build for : OpenSuSE. For other distributions click perl-Text-Scraper.

Name : perl-Text-Scraper
Version : 0.02 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp156.6.1 Date : 2024-07-03 19:17:42
Group : Development/Libraries/Perl Source RPM : perl-Text-Scraper-0.02-lp156.6.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : Structured data from (un)structured text
Description :
Template Tags are classed as _Leaves_ or _Branches_. Like XML, Branches
must have an associated closing tag, Leaves must not. By default, Leaf
nodes return SCALARs and Branch nodes return ARRAYs of HASHes - each array
element mapping to a matched sub-sequence. Blessing or filtering this data
is left as an exercise for subclasses.

The default syntax is based on the XML preprocessor syntax:

< ?tmpl TYPE NAME [ATTRIBUTES] ?>

and for Branches:

< ?tmpl TYPE NAME [ATTRIBUTES] ?>
...
< ?tmpl end NAME ?>

By default, Tags _must_ be named and any closing tag _must_ include the
name of the opening tag it is closing. Attributes have the same syntax as
XML attributes - but (similar to Perl regular expressions) can use any
non-bracket punctuation character as quotation delimiters:

< ?tmpl var foo bar=\"baz\" blah=/But dont \"quote\" me on that!/ ?>

The only attribute acted on by the default tag classes is \'regex\' - used to
refine how the Tag is translated into a regular-expression capture group:

< ?tmpl var naiveEmailAddress regex=\"([\\w\\d\\.]+\\AATT[\\w\\d\\.]+)\" ?>

This can be used to further filter the parsed data - similar to using grep:

< ?tmpl var onlyFoocomEmailAddresses regex=\"([\\w\\d\\.]+AATT(?:foo\\.com))\" ?>

Each tag should create _only one_ capture group - but it is fine to make
the outer group non-capturing:

< ?tmpl var dateJustMonth regex=\"(?:\\d+ (\\S+) \\d+)\" ?>

_The above would capture only the month field in dates formated as_ \'02
July 1979\'.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Text-Scraper-0.02-lp156.6.1.noarch.rpm
     

Provides :
perl(Text::Scraper)
perl(Text::Scraper::Branch)
perl(Text::Scraper::Conditional)
perl(Text::Scraper::Ignorable)
perl(Text::Scraper::Leaf)
perl(Text::Scraper::Syntax)
perl-Text-Scraper

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Text
/usr/lib/perl5/vendor_perl/5.26.1/Text/Scraper.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Text-Scraper
/usr/share/doc/packages/perl-Text-Scraper/Changes
/usr/share/doc/packages/perl-Text-Scraper/README
/usr/share/doc/packages/perl-Text-Scraper/TODO
/usr/share/man/man3/Text::Scraper.3pm.gz

 
ICM