Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parsing: Fix auto-delete feature in escaped_split
escaped_split() was not handling empty matches correctly. It only checked the first matching group (containing the text before the split sequence), but ignored the second one, that consumes escaped escapes. So if only the first group was empty, the algorithm decides the complete entry is empty, but it needed to check the second group also. This is now fixed with the help of a temporary string.
- Loading branch information