Fix bug with body regex matching