차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
tech:regex [2015/09/09 17:18] – [문자표현] V_Ltech:regex [2016/07/12 00:56] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
 +{{tag>tech regex}}
 ====== 정규식 (Regular expression)====== ====== 정규식 (Regular expression)======
  
 |.|Any character except newline. | |.|Any character except newline. |
 |\\.|A period (and so on for \\*, \\(, \\\\, etc.) | |\\.|A period (and so on for \\*, \\(, \\\\, etc.) |
-|''^''|The start of the string. |+|%%^%%|The start of the string. |
 |$|The end of the string. | |$|The end of the string. |
 |\\d,\\w,\\s|A digit, word character [A-Za-z0-9_], or whitespace. | |\\d,\\w,\\s|A digit, word character [A-Za-z0-9_], or whitespace. |
줄 9: 줄 10:
 |[abc]|Character a, b, or c. | |[abc]|Character a, b, or c. |
 |[a-z]|a through z. | |[a-z]|a through z. |
-|''[^abc]''|Any character except a, b, or c. |+|%%[^abc]%%|Any character except a, b, or c. |
 |%%aa|bb%%|Either aa or bb. | |%%aa|bb%%|Either aa or bb. |
 |?|Zero or one of the preceding element. | |?|Zero or one of the preceding element. |
줄 189: 줄 190:
 출처: http://blog.bagesoft.com/178 출처: http://blog.bagesoft.com/178
  
-{{tag>tech regex}}