Palindrome detection: Difference between revisions

→‎{{header|ed}}: Minor grammatical fix
(Add ed example)
(→‎{{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">
100

edits