From 2007a1164fb8986f62b5a4482dee22b7133662d3 Mon Sep 17 00:00:00 2001 From: efjwbe Date: Thu, 24 Nov 2022 22:10:09 +0900 Subject: [PATCH] =?UTF-8?q?[=EB=8B=A8=EC=96=B4=20=EA=B2=BD=EA=B3=84:=20\b]?= =?UTF-8?q?=20=EA=B3=BC=EC=A0=9C=20=EB=B2=88=EC=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../06-regexp-boundary/1-find-time-hh-mm/solution.md | 5 ++--- .../06-regexp-boundary/1-find-time-hh-mm/task.md | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/solution.md b/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/solution.md index 829eda13e4..9f3b65eec2 100644 --- a/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/solution.md +++ b/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/solution.md @@ -1,6 +1,5 @@ - -The answer: `pattern:\b\d\d:\d\d\b`. +정답: `pattern:\b\d\d:\d\d\b`. ```js run -alert( "Breakfast at 09:00 in the room 123:456.".match( /\b\d\d:\d\d\b/ ) ); // 09:00 +alert("Breakfast at 09:00 in the room 123:456.".match(/\b\d\d:\d\d\b/)); // 09:00 ``` diff --git a/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/task.md b/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/task.md index 95ab5777d0..e95f8186f6 100644 --- a/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/task.md +++ b/9-regular-expressions/06-regexp-boundary/1-find-time-hh-mm/task.md @@ -1,9 +1,9 @@ -# Find the time +# 시간 찾기 -The time has a format: `hours:minutes`. Both hours and minutes has two digits, like `09:00`. +시간은 형식을 가집니다: `hours:minutes`. 시간과 분은 모두 `09:00`과 같이 두 자릿수를 가집니다. -Make a regexp to find time in the string: `subject:Breakfast at 09:00 in the room 123:456.` +문자열 내에서 시간을 찾기 위해 정규 표현식을 만들어보세요: `subject:Breakfast at 09:00 in the room 123:456.` -P.S. In this task there's no need to check time correctness yet, so `25:99` can also be a valid result. +P.S. 이 과제에서는 아직 시간 정확도를 확인할 필요가 없습니다, 따라서 `25:99`도 유효한 결과가 될 수 있습니다. -P.P.S. The regexp shouldn't match `123:456`. +P.P.S. 정규 표현식은 `123:456` 과 같지 않아야 합니다.