Palindrome detection: Difference between revisions

Content deleted Content added
Aartaka (talk | contribs)
Add ed example
Aartaka (talk | contribs)
→‎{{header|ed}}: Minor grammatical fix
Line 1,914:
=={{header|ed}}==
 
A limitation: due to ed having no built-in loops, the part with palindrome beginning/end matching has to be repeated as many times andas there's are palindrome levels. As a sane default, 15 is used here.
 
<syntaxhighlight lang="sed">