Allow empty matches in regex