1Regexp::Common::profaniUtsye(r3)Contributed Perl DocumenRteagteixopn::Common::profanity(3)
2
3
4

NAME

6       Regexp::Common::profanity -- provide regexes for profanity
7

SYNOPSIS

9           use Regexp::Common qw /profanity/;
10
11           while (<>) {
12               /$RE{profanity}/               and  print "Contains profanity\n";
13           }
14

DESCRIPTION

16       Please consult the manual of Regexp::Common for a general description
17       of the works of this interface.
18
19       Do not use this module directly, but load it via Regexp::Common.
20
21       $RE{profanity}
22
23       Returns a pattern matching words -- such as Carlin's "big seven" --
24       that are most likely to give offense. Note that correct anatomical
25       terms are deliberately not included in the list.
26
27       Under "-keep" (see Regexp::Common):
28
29       $1  captures the entire word
30
31       $RE{profanity}{contextual}
32
33       Returns a pattern matching words that are likely to give offense when
34       used in specific contexts, but which also have genuinely non-offensive
35       meanings.
36
37       Under "-keep" (see Regexp::Common):
38
39       $1  captures the entire word
40

HISTORY

42        $Log: profanity.pm,v $
43        Revision 2.104  2003/07/04 13:34:05  abigail
44        Fixed assignment to
45
46        Revision 2.103  2003/02/11 10:23:07  abigail
47        Small fix
48
49        Revision 2.102  2003/02/11 09:45:09  abigail
50        Added
51
52        Revision 2.101  2003/02/01 22:55:31  abigail
53        Changed Copyright years
54
55        Revision 2.100  2003/01/21 23:19:40  abigail
56        The whole world understands RCS/CVS version numbers, that 1.9 is an
57        older version than 1.10. Except CPAN. Curse the idiot(s) who think
58        that version numbers are floats (in which universe do floats have
59        more than one decimal dot?).
60        Everything is bumped to version 2.100 because CPAN couldn't deal
61        with the fact one file had version 1.10.
62
63        Revision 1.2  2002/08/05 12:16:59  abigail
64        Fixed 'Regex::' and 'Rexexp::' typos to 'Regexp::' (Found my Mike Castle).
65
66        Revision 1.1  2002/07/28 21:41:07  abigail
67        Split off from Regexp::Common.
68

SEE ALSO

70       Regexp::Common for a general description of how to use this interface.
71

AUTHOR

73       Damian Conway (damian@conway.org)
74

MAINTAINANCE

76       This package is maintained by Abigail (regexp-common@abigail.nl).
77

BUGS AND IRRITATIONS

79       Bound to be plenty.
80
81       For a start, there are many common regexes missing.  Send them in to
82       regexp-common@abigail.nl.
83
85            Copyright (c) 2001 - 2003, Damian Conway. All Rights Reserved.
86              This module is free software. It may be used, redistributed
87             and/or modified under the terms of the Perl Artistic License
88                   (see http://www.perl.com/perl/misc/Artistic.html)
89
90
91
92perl v5.8.8                       2003-03-23      Regexp::Common::profanity(3)
Impressum