diff --git a/data2passcal/data2passcal.py b/data2passcal/data2passcal.py
index a23cbedcb0278c78a0e0ef641e9a0d6c54996633..813988c06e01ab766f0ee651ca3fd4d47483a5bd 100644
--- a/data2passcal/data2passcal.py
+++ b/data2passcal/data2passcal.py
@@ -130,7 +130,8 @@ def sendable(file):
 # Basic Miniseed file metadata extracted from filename
 # This includes .p files which we may accept in the future but won't h
 MseedRE = re.compile(
-    r'\A(.*)\.([A-Z0-9][A-Z0-9])\.(.*)\.([A-Z][A-Z]\w)\.([0-9]{4})\.([0-9]{3})(?:\.p)*') # noqa
+MseedRE = re.compile(r'\A(.*)\.([A-Z0-9][A-Z0-9])\.(.*)\.'
+    r'([A-Z][A-Z]\w)\.([0-9]{4})\.([0-9]{3})(?:\.p)*')
 
 
 def filename_qc_format(file):