def t_BIN_STRING(self, t):
value = t.value[<NUM_LIT:1>:-<NUM_LIT:2>]<EOL>while value and value[<NUM_LIT:0>] == '<STR_LIT:0>' and len(value) % <NUM_LIT:8>:<EOL><INDENT>value = value[<NUM_LIT:1>:]<EOL><DEDENT>return t<EOL>
r'\'[01]*\'[bB]