TODOs w.r.t. regex matching performance issues