Fixed name matching regex for mentions

* Original name matching regex only replaced the first
  . character instead of all of them