yet another developer blog
Thursday, March 18, 2010
Проверка палиндрома на Perl
Делается так:
perl -ne 'print if /^(\w+).?(??{reverse $1})$/i'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment