View Single Post
Old 09-17-2010, 03:23 PM   #19
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,488
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by gwk View Post
And that chaley would really be perfect.
Throw a regexp in the mix, for the regexp people on this planet, and it would do the job.
The search string is a python regexp pure and simple. The replacement string is a python replacement string (can contain backreferences). The function is one of null, lower case, title case, or upper case, and it is applied after backreference substitution.

It will be in today's release, marked as experimental. Backup your library before hacking.
chaley is offline   Reply With Quote