parse conditional bit maps

like { 0 | 1 <given sequence of bit flags>}