in reply to .. operator and not including the condition of right operand

Try ?^1(.*)? instead of /^1(.*)/ on the left hand side of the flip-flop.