From eab0ccc80c8c42ff07c045007319f86897bf380d Mon Sep 17 00:00:00 2001 From: CryptoSax Date: Wed, 6 Jul 2022 15:43:30 -0500 Subject: [PATCH] Update ExtractionPattern.swift --- Sources/Ghostwriter/ExtractionPattern.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Ghostwriter/ExtractionPattern.swift b/Sources/Ghostwriter/ExtractionPattern.swift index 7423717..7c7d8f2 100644 --- a/Sources/Ghostwriter/ExtractionPattern.swift +++ b/Sources/Ghostwriter/ExtractionPattern.swift @@ -67,7 +67,8 @@ public class ExtractionPattern: Codable { return nil } - + + print(match.numberOfRanges) let matchRange = match.range(at: 0) // Extract the substring matching the capture group