~ubuntu-branches/ubuntu/vivid/horae/vivid

« back to all changes in this revision

Viewing changes to 0CPAN/Text-Glob-0.06/README

  • Committer: Bazaar Package Importer
  • Author(s): Carlo Segre
  • Date: 2006-12-26 11:54:29 UTC
  • Revision ID: james.westby@ubuntu.com-20061226115429-kjuhf6h9w6bohlwj
Tags: upstream-063
ImportĀ upstreamĀ versionĀ 063

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
README for Text::Glob 0.05
 
2
 
 
3
=head1 NAME
 
4
 
 
5
Text::Glob - match globbing patterns against text
 
6
 
 
7
=head1 SYNOPSIS
 
8
 
 
9
 use Text::Glob qw( match_glob glob_to_regex );
 
10
 
 
11
 print "matched\n" if match_glob( "foo.*", "foo.bar" );
 
12
 
 
13
 # prints foo.bar and foo.baz
 
14
 my $regex = glob_to_regex( "foo.*" );
 
15
 for ( qw( foo.bar foo.baz foo bar ) ) {
 
16
     print "matched: $_\n" if /$regex/;
 
17
 }
 
18
 
 
19
 
 
20
 
 
21
=head1 INSTALLATION
 
22
 
 
23
 perl Build.PL
 
24
 perl Build test
 
25
 
 
26
and if all goes well
 
27
 
 
28
 perl Build install
 
29
 
 
30
=head1 HISTORY
 
31
 
 
32
What changed over the last 3 revisions
 
33
 
 
34
=over
 
35
 
 
36
=item 0.06    Monday 1st September, 2003
 
37
 
 
38
        - port to Module::Build
 
39
        - Nested alternations fix from Mike Benson
 
40
        
 
41
 
 
42
=item 0.05      15th August, 2002
 
43
 
 
44
        - !match_glob("*.foo", "foo/.foo"); 
 
45
        - test suite overhaul
 
46
        - backslash expansion fixed
 
47
        - /[+^$|]/ made less 'special'
 
48
        - handle embedded newlines in glob patterns
 
49
        - add tests for 'foo[abc]'
 
50
        - Many thanks go to Nick Cleaton for finding these
 
51
 
 
52
 
 
53
=item 0.04      14th August, 2002
 
54
 
 
55
        - $Text::Glob::{strict_leading_dot,strict_wildcard_slash} from
 
56
          bug report from Nick Cleaton
 
57
        - (quite poor) documentation of supported globbing constructs
 
58
 
 
59
=back
 
60
 
 
61
=head1 AUTHOR
 
62
 
 
63
Richard Clamp <richardc@unixbeard.net>
 
64
 
 
65
=head1 COPYRIGHT
 
66
 
 
67
Copyright (C) 2002 Richard Clamp.  All Rights Reserved.
 
68
 
 
69
This module is free software; you can redistribute it and/or modify it
 
70
under the same terms as Perl itself.
 
71
 
 
72
=head1 SEE ALSO
 
73
 
 
74
L<File::Glob>, glob(3)
 
75