https://bugs.exim.org/show_bug.cgi?id=2614

--- Comment #2 from Philip Hazel <[email protected]> ---
This pattern matches palindromes (ignoring punctuation):

/^\W*+(?:((.)\W*+(?1)\W*+\2|)|((.)\W*+(?3)\W*+\4|\W*+.\W*+))\W*+$/i

I don't have offhand a pattern for html tags, but it should be straightforward.
Perhaps something like this:

"<([^>]+)>.*?</\1>"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to