Regexp?
$ perl -e '$_ = "xoxo";$_=ucfirst(reverse(ucfirst(reverse($_))));print +'
Yes, this _is_ faster than any regular expression.
--In reply to Re: help with a regexp
by fruiture
in thread help with a regexp
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |