일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- backslash
- NoSQL
- databases
- matches any character
- point
- MongoDB
- Terminal
- Regular Expressions
- Homebrew
- sensitive
- dollar sign
- literal
- GIT
- Regex
- runserver
- MySQL
- 딸라표시
- escaped
- square brackets
- 꺽쇠
- 정규표현식
- Case sensitive
- mongo
- MAC
- 대소문자 구별
- whitespace
- whitespace characters
- bitbucket
- New Line
- Regexp
- Today
- Total
목록Regular expressions (7)
Creaticalmind
Page 7Inside square brackets "[]" a list of characters can be provided. The expression matches if any of these characters is found. The order of characters is insignificant.(Case 3)SourceHow do you do?Case 1Regular Expression:[oyu]First match:How do you do?All matches:How do you do?Case 2Regular Expression:[dH].First match:How do you do?All matches:How do you do?Case 3Regular Expression:[owy][yo..
Page 6The point must be escaped if literal meaning is required.SourceO.K.Case 1Regular Expression:.First match:O.K.All matches:O.K.Case 2Regular Expression:\.First match:O.K.All matches:O.K.Case 3Regular Expression:\..\.First match:O.K.All matches:O.K. Case 1 문자를 와일드 카드로 검색하는 방식이다. > 05 Point . matches any character. 04 escaped with a backslash 이스케이프문자, 백슬래쉬
Page 5Point . matches any character.SourceRegular expressions are powerful!!!Case 1Regular Expression:.First match:Regular expressions are powerful!!!All matches:Regular expressions are powerful!!!Case 2Regular Expression:......First match:Regular expressions are powerful!!!All matches:Regular expressions are powerful!!! 와일드카드 ' . ' 을 이용한 검색 방법 Case 1 에서는 ' . '을 와일드카드로 이용 하는 방법, First 매치에서는 대문자 ..
Page 4If literal value of a special character is required, it must be escaped with a backslash \. Case 1 does not match anything as both characters a special, Case 2 matches all $, Case 3 matches $ only if it is the first and Case 4 the last character. Backslash has special meaning and must be also escaped for literal use (Case 5).Source$12$ \-\ $25$Case 1Regular Expression:^$First match:$12$ \-..
Page 3Some characters have special meanings. Character ^ matches the beginning of the line (Case 1) while dollar sign $ the end of the line (Case 2)Sourcewho is whoCase 1Regular Expression:^whoFirst match:who is whoAll matches:who is whoCase 2Regular Expression:who$First match:who is whoAll matches:who is whohttp://zvon.org/comp/r/tut-Regexp.html#Pages~Page_3 Case1 : 문자열 앞에 [ ^ ] 를 붙이면, 해당 문자열로 ..
Page 2Each character inside the search pattern is significant including whitespace characters (space, tab, new line).SourceHello, world!Case 1Regular Expression:Hello, worldFirst match:Hello, world!All matches:Hello, world!Case 2Regular Expression:Hello, worldFirst match:Hello, world!All matches:Hello, world!http://zvon.org/comp/r/tut-Regexp.html#Pages~Page_2 정규표현식은 빈칸, 탭, 엔터를 구분한다.
Page 1Regular expressions are case sensitive. Therefore Case 1 will find the specified text, but Case 2 will not.SourceHello, world!Case 1Regular Expression:HelloFirst match:Hello, world!All matches:Hello, world!Case 2Regular Expression:helloFirst match:Hello, world!All matches:Hello, world!http://zvon.org/comp/r/tut-Regexp.html#Pages~Page_1 정규표현식에서는 대,소문자를 구별해서 사용 해야 한다.