Switched to non-greedy regex and updated example.md