File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Sources/TimecodeKit/Data Interchange Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ let package = Package(
18
18
dependencies: [
19
19
20
20
// utility/support code:
21
- . package ( url: " https://github.com/orchetect/OTCore " , from: " 1.1.0 " ) ,
21
+ . package ( url: " https://github.com/orchetect/OTCore " , from: " 1.1.6 " ) ,
22
22
23
23
// console progress module for dev tests:
24
24
. package ( url: " https://github.com/orchetect/SegmentedProgress " , from: " 1.0.1 " )
Original file line number Diff line number Diff line change @@ -283,8 +283,10 @@ extension Timecode {
283
283
284
284
let pattern = #"^(\d+)??[\:\s]??(\d+)[\:](\d+)[\:](\d+)[\:\;](\d+)[\.]??(\d+)??$"#
285
285
286
- let matches = string. regexMatches ( captureGroupsFromPattern: pattern)
287
-
286
+ let matches = string
287
+ . regexMatches ( captureGroupsFromPattern: pattern)
288
+ . dropFirst ( )
289
+
288
290
// attempt to convert strings to integers, preserving indexes and preserving nils
289
291
// essentially converting [String?] to [Int?]
290
292
You can’t perform that action at this time.
0 commit comments