Note that it will leave just the 'a' from your example string, as it will find the longest, left-most palindrome in the string. Which in this case is the string 'a'.use Regexp::Common; s/.*?($RE{lingua}{palindrome}).*/$1/s;
In reply to Re: Try this in Regexp palindrome
by Anonymous Monk
in thread Try this in Regexp palindrome
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |