We might have to use regexp for this, but let's benchmark this.