fix bug in TRE found by clang (typo && instead of &)