인프런 커뮤니티 질문&답변
탈출문자 \b에 관해 질문이 있습니다.
작성
·
317
답변 1
0
Most of the escape sequences supported by Python string literals are also accepted by the regular expression parser:
\a \b \f \n
\N \r \t \u
\U \v \x \\
(Note that \b is used to represent word boundaries, and means “backspace” only inside character classes.)
https://docs.python.org/3/library/re.html
위는 python 공식 사이트 library 에서 발췌했구요, backspace 를 뜻하는\b는 캐릭터 사이에 있을 때에만 되는게 맞는 것 같네요.





