Regexp::Common::lingua(3pm)

Regexp::Common::lingua3pm

Usage

    use Regexp::Common qw /lingua/;
    while (<>) {
        /^$RE{lingua}{palindrome}$/    and  print "is a palindrome\n";
    }

Overview

Please consult the manual of Regexp::Common for a general description of the works of this interface.

Do not use this module directly, but load it via Regexp::Common.

"$RE{lingua}{palindrome}"

Returns a pattern that recognizes a palindrome, a string that is the same if you reverse it. By default, it only matches strings consisting of letters, but this can be changed using the "{-chars}" option. This option takes a character class (default is "[A-Za-z]") as argument.

If "{-keep}" is used, only $1 will be set, and set to the entire match.

This pattern requires at least perl 5.6.0.

Maintenance

This package is maintained by Abigail ([email protected]).

Bugs and irritations

Many regexes are missing. Send them in to [email protected].

Releases

12 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10–11
  9. 12
  10. 13
  11. Arch

Author

Damian Conway ([email protected])

From perl-regexp-common 2024080801-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.