fix: RegExp match unique error when there is no matches