Mercurial > repo
changeset 4048:101b0a63a4ff
<mrhmouse> rm ello
author | HackBot |
---|---|
date | Fri, 22 Nov 2013 15:45:20 +0000 |
parents | 6dd7ac524173 |
children | 7b9b84c31f46 |
files | ello |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ello Fri Nov 22 15:45:06 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -var e,l,o,t;t=process.argv[2],(null!=t?t.length:void 0)||(console.log("Usage: ello <name>"),process.exit()),o=/(.*)(e)$/i,e=/(.*)([bcdfghjklmnpqrstvwxz])([o0].*)/i,l=/[bcdfghjklmnpqrstvwxz]/i,console.log(e.test(t)?t.replace(e,function(e,l,o,t){return l+o+"ell"+t}):o.test(t)?t.replace(o,function(e,l){return l+"ello"}):l.test(t)?t+"ello":"Hello, "+t+"!"); \ No newline at end of file