{
    "mode": "perldoc",
    "parameter": "Regexp::Common::profanity",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Regexp%3A%3ACommon%3A%3Aprofanity/json",
    "generated": "2026-06-11T07:37:43Z",
    "synopsis": "use Regexp::Common qw /profanity/;\nwhile (<>) {\n/$RE{profanity}/               and  print \"Contains profanity\\n\";\n}",
    "sections": {
        "NAME": {
            "content": "Regexp::Common::profanity -- provide regexes for profanity\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Regexp::Common qw /profanity/;\n\nwhile (<>) {\n/$RE{profanity}/               and  print \"Contains profanity\\n\";\n}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Please consult the manual of Regexp::Common for a general description of the works of this\ninterface.\n\nDo not use this module directly, but load it via *Regexp::Common*.\n\n$RE{profanity}\nReturns a pattern matching words -- such as Carlin's \"big seven\" -- that are most likely to give\noffense. Note that correct anatomical terms are deliberately *not* included in the list.\n\nUnder \"-keep\" (see Regexp::Common):\n\n$1  captures the entire word\n\n$RE{profanity}{contextual}\nReturns a pattern matching words that are likely to give offense when used in specific contexts,\nbut which also have genuinely non-offensive meanings.\n\nUnder \"-keep\" (see Regexp::Common):\n\n$1  captures the entire word\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Regexp::Common for a general description of how to use this interface.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Damian Conway (damian@conway.org)\n",
            "subsections": []
        },
        "MAINTENANCE": {
            "content": "This package is maintained by Abigail (*regexp-common@abigail.be*).\n",
            "subsections": []
        },
        "BUGS AND IRRITATIONS": {
            "content": "Bound to be plenty.\n\nFor a start, there are many common regexes missing. Send them in to *regexp-common@abigail.be*.\n\nLICENSE and COPYRIGHT\nThis software is Copyright (c) 2001 - 2017, Damian Conway and Abigail.\n\nThis module is free software, and maybe used under any of the following licenses:\n\n1) The Perl Artistic License.     See the file COPYRIGHT.AL.\n2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.\n3) The BSD License.               See the file COPYRIGHT.BSD.\n4) The MIT License.               See the file COPYRIGHT.MIT.\n",
            "subsections": []
        }
    },
    "summary": "Regexp::Common::profanity -- provide regexes for profanity",
    "flags": [],
    "examples": [],
    "see_also": []
}