Compiling CellComposite & CellLabels

Hi,

Was wondering if anyone had a workaround for a particular issue I am having. Reading through the docs, I can see
pat = re.compile(r"._F(\d+)“)
As the d+ allows only the input of 0-9, I’m having trouble integrating my data because my CellComposite and CellLabel files are named appropriately to their run (of which there are many) i.e. 123_1_1.jpg and/or abc_a_1.jpeg. Thus they are unable to be read. I understand that changing the original code to
pat = re.compile(r”.
_F(\w+)")
would likely solve my issue, but I am unable to do that. Therefore, I was just curious if there were any solutions beyond renaming all my files.

Many thanks