정규 표현식 정리 [• . ^ $ * + ? { } [ ] \ | ( ) ]
expression = ^b...s$ : 'b'로 시작하고 's'로 끝나는 다섯 글자 문자열과 일치 함 match or no match? basvs : match babcds : no match (글자 수 오류) bsssa : no match (끝나는 문자 오류 -> ^b...a$의 표현은 match 가능 Blaws : no match (대소문자 구분 오류) bn ans : no match (공백도 카운팅) [정규식 syntax] 메타 문자 : RegEx 엔진에 의해 특별한 방식으로 해석되는 문자 • . ^ $ * + ? { } [ ] \ | ( ) 대괄호 : [] 일치시키려는 문자 집합을 지정 expression : [qwer] match or no match? q : 1match qw : 2match..
2023.11.30