Skip to content

[신규 번역] Part 3.9.7 regexp-escaping 번역 #1200 #1201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update article.md
  • Loading branch information
dntjr970 authored Nov 27, 2021
commit f22cde453f2868b0ce85d33f049d0c09689a6e98
4 changes: 2 additions & 2 deletions 9-regular-expressions/07-regexp-escaping/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

본 바와 같이, 백슬래쉬 `pattern:\`는 글자 클래스를 나타내는데 사용됩니다, 예 : `pattern:\d`. 따라서 이는 정규 표현식의 특수문자 입니다. (일반 문자열도 해당).

정규 표현식에서 특별한 의미를 가지는 다른 특수 문자도 있습니다. 이는 보다 강력한 검색에 사용됩니다. 다음은 전체 리스트 입니다 : `pattern:[ \ ^ $ . | ? * + ( )`.
정규 표현식에서 특별한 의미를 가지는 다른 특수 문자도 있습니다. 이는 보다 강력한 검색에 사용됩니다. 다음은 전체 리스트`pattern:[ \ ^ $ . | ? * + ( )` 입니다.

곧 리스트를 각각 다룰 것이고 자동적으로 알게 될 것이기 때문에 기억하려고 하지 않아도 됩니다.

## 이스케이프

문자 그대로 '.'을 찾는다고 해봅시다. 모든 글자가 아니라 진짜 '.'을 찾습니다.

특수 문자를 일반 문자로 사용하려면, 백슬래쉬를 앞에 붙입니다 : `pattern:\.`.
특수 문자를 일반 문자로 사용하려면, '.' 앞에 백슬래쉬를`pattern:\.` 붙입니다 : `pattern:\.`.

That's also called "escaping a character".

Expand Down