From 90df976893b22750f3ce0e6625f6ded63a2450e0 Mon Sep 17 00:00:00 2001 From: libmartinito Date: Fri, 24 Nov 2023 16:10:52 +0800 Subject: [PATCH] CC-834 try using different syntax for match digit patter --- internal/stage_match_digit.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/stage_match_digit.go b/internal/stage_match_digit.go index a531e74..e6a5625 100644 --- a/internal/stage_match_digit.go +++ b/internal/stage_match_digit.go @@ -7,12 +7,12 @@ import ( func testMatchDigit(stageHarness *tester_utils.StageHarness) error { testCases := []TestCase{ { - Pattern: `\d`, + Pattern: "\\d", Input: "123", ExpectedExitCode: 0, }, { - Pattern: `\d`, + Pattern: "\\d", Input: "apple", ExpectedExitCode: 1, },