1Regexp::Assemble::ComprUessesredC(o3n)tributed Perl DocuRmeegnetxapt:i:oAnssemble::Compressed(3)
2
3
4

NAME

6       Regexp::Assemble::Compressed - Assemble more compressed Regular
7       Expression
8

SYNOPSIS

10        use Regexp::Assemble::Compressed;
11
12        my $ra = Regexp::Assemble::Compressed->new;
13        my @cctlds = qw(ma mc md me mf mg mh mk ml mm mn mo mp
14                        mq mr ms mt mu mv mw mx my mz);
15        for my $tld ( @cctlds ) {
16            $ra->add( $tld );
17        }
18        print $ra->re; # prints m[ac-hk-z].
19                       # Regexp::Assemble prints m[acdefghklmnopqrstuvwxyz]
20

DESCRIPTION

22       Regexp::Assemble::Compressed is a subclass of Regexp::Assemble.  It
23       assembles more compressed regular expressions.
24

AUTHOR

26       Koichi Taniguchi <taniguchi@livedoor.jp>
27

LICENSE

29       This library is free software; you can redistribute it and/or modify it
30       under the same terms as Perl itself.
31

SEE ALSO

33       Regexp::Assemble
34
35
36
37perl v5.36.0                      2023-01-20   Regexp::Assemble::Compressed(3)
Impressum