2024-03-08 10:14:49 +00:00
committed by Git OBS Bridge
parent 8038ccb2b7
commit 46e68d7de2

View File

@@ -23,9 +23,10 @@ Version: 0.31
Release: 0 Release: 0
URL: http://search.cpan.org/~tbusch/Text-Scan-0.30/Scan.pm URL: http://search.cpan.org/~tbusch/Text-Scan-0.30/Scan.pm
Summary: Fast search for very large numbers of keys in a body of text Summary: Fast search for very large numbers of keys in a body of text
Requires: perl = %{perl_version} perl-libwww-perl Requires: perl = %{perl_version}
Requires: perl-Inline Requires: perl-Inline
Requires: perl-TimeDate Requires: perl-TimeDate
Requires: perl-libwww-perl
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-Inline BuildRequires: perl-Inline
BuildRequires: perl-TimeDate BuildRequires: perl-TimeDate
@@ -38,16 +39,15 @@ Patch0: %{modname}-0.31.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
This module provides facilities for fast searching on strings with very many search keys. The basic object behaves somewhat like a perl hash, except that you can retrieve based on a superstring of any keys stored. Simply scan a string as shown above and you will get back a perl hash (or list) of all keys found in the string (along with associated values and/or positions). All keys present in the text are returned. This module provides facilities for fast searching on strings with very many
search keys. The basic object behaves somewhat like a perl hash, except that
you can retrieve based on a superstring of any keys stored. Simply scan a
string as shown above and you will get back a perl hash (or list) of all
keys found in the string (along with associated values and/or positions).
All keys present in the text are returned.
This module is an implementation of the Aho/Corasick Pattern Matching algorithm- This module is an implementation of the Aho/Corasick Pattern Matching algorithm-
Authors:
--------
Ira Woodhead, <textscan@sweetpota.to>
Thomas Busch, <tbusch@cpan.org>
Jerome Eteve, <jerome.eteve@gmail.com>
%prep %prep
%autosetup -n %{modname}-%{version} -p1 %autosetup -n %{modname}-%{version} -p1