Open davidelang opened 5 years ago
we have the alternative option, but it doesn't work if one branch is blank.
and example being, when parsing a csv file, you may have a quoted string or nothing between commas
another example, syslogtag may have a : at the end or not, depending on if it was parsed with the old RFC or new RFC parser.
sometimes you can work around this in alternative by including an adjacent character, but that's not a good option.
we have the alternative option, but it doesn't work if one branch is blank.
and example being, when parsing a csv file, you may have a quoted string or nothing between commas
another example, syslogtag may have a : at the end or not, depending on if it was parsed with the old RFC or new RFC parser.
sometimes you can work around this in alternative by including an adjacent character, but that's not a good option.