Fix handling of OPTIONAL
with empty or unconnected patterns
#5639
Loading
OPTIONAL
with empty or unconnected patterns
#5639