일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- MySQL
- whitespace characters
- escaped
- 대소문자 구별
- square brackets
- sensitive
- Case sensitive
- whitespace
- point
- 꺽쇠
- NoSQL
- Regexp
- bitbucket
- 딸라표시
- matches any character
- MongoDB
- dollar sign
- mongo
- databases
- runserver
- Homebrew
- backslash
- New Line
- MAC
- GIT
- literal
- Terminal
- 정규표현식
- Regular Expressions
- Regex
Archives
- Today
- Total
Creaticalmind
03 Caret ^ / dollar sign $ 캐럿, 꺽쇠 / 달러 (딸라표시) 본문
Page 3
Some characters have special meanings. Character ^ matches the beginning of the line (Case 1) while dollar sign $ the end of the line (Case 2)
Source
who is who |
Case 1
Regular Expression: | ^who |
---|---|
First match: | who is who |
All matches: | who is who |
Case 2
Regular Expression: | who$ |
---|---|
First match: | who is who |
All matches: | who is who |
http://zvon.org/comp/r/tut-Regexp.html#Pages~Page_3
Case1 : 문자열 앞에 [ ^ ] 를 붙이면, 해당 문자열로 시작하는 곳 검색
Case2 : 문자열 끝에 [ $ ] 를 붙이면, 해당 문자열로 끝이 나는 곳 검색
'Regular expressions' 카테고리의 다른 글
06 The point must be escaped if literal meaning is required. (0) | 2018.04.12 |
---|---|
05 Point . matches any character. (0) | 2018.04.12 |
04 escaped with a backslash 이스케이프문자, 백슬래쉬 (0) | 2017.12.16 |
02 whitespace characters (space, tab, new line) (0) | 2017.12.16 |
01 Case sensitive 대소문자 구별 (0) | 2017.12.16 |
Comments