Skip to content

Commit

Permalink
Added another regrex.
Browse files Browse the repository at this point in the history
Added another regrex.
  • Loading branch information
spacetimeengineer committed Dec 18, 2024
1 parent 2c26e41 commit c16fa66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pbp/meta_gen/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def extract_timecode(filename: str, prefixes: List[str]):
"underscore_format2": r"{}[._]?(\d{{6}})_(\d{{6}})\.",
"dot_format": r"{}[._]?(\d{{12}})\.",
"dot_format2": r"{}[.]?(\d{{6}})(\d{{6}})\.",
"dot_format3": r"{}[.]?(\d{{12}})\.",
"iso_format": r"{}[._]?(\d{{8}}T\d{{6}}Z)\.",
"dash_format1": r"{}[.-]?(\d{{8}})-(\d{{6}})\.", # Matches: MARS-YYYYMMDD-HHMMSS.wav
"dash_format2": r"{}[.-]?(\d{{6}})-(\d{{6}})\.", # Matches: NRS08-150219-151716.wav
Expand Down

0 comments on commit c16fa66

Please sign in to comment.