FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[신규 번역] Part9. 9.6 과제 번역 by choeunlee · Pull Request #1653 · javascript-tutorial/ko.javascript.info · GitHub

Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
    • solution.md
    • task.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -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
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -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` 과 같지 않아야 합니다.

Back | FazBrowse Home | New Git URL