Specify prefix with regular expression in scanpy.read_10x_mtx()

The input files have the following name pattern

'gsm123_sample1_barcodes.tsv.gz'
'gs123_sample1_features.tsv.gz'
'gsm123_sample1_matrix.mtx.gz'

Is there a way for me to use regex to specify the prefix pattern ‘text_text_’ in the scanpy.read_10x_mtx() function to read in the data?