update: Regex match for mhd

* Added regex matching function for mhd which also tries probable roots
  of matched words.

* Added rotify function that returns the probable root of a word.

Signed-off-by: mr.Shu <mr@shu.io>