Added getting history by nickname
Fixed advanced commands regex

Now allows non alpha-numeric parameters