Production of an extracellular matrix is a hallmark of biofilm formation. In the spore-forming bacterium Bacillus subtilis, the matrix consists of an exopolysaccharide, which is specified by the epsA-O operon, and a secreted protein TasA, which is encoded by the yqxM-sipW-tasA operon. Past and present evidence establish that the epsA-O and yqxM-sipW-tasA operons are controlled by the repressor proteins SinR and AbrB. Here, we report the identification of a novel regulatory protein Slr that promotes transcription of the yqxM-sipW-tasA operon but is not needed for expression of the epsA-O operon. We further show that the gene for Slr is itself under the negative control of SinR and AbrB. These findings reveal that matrix production is governed by an intricate network involving the interplay of negatively and positively acting regulatory proteins.