AOJ 1101 A Simple Offline Text Editor: Changed Ruby version to use regexp on moving by words or word deletion