IT/Regular Expressions
\b vs \B
체계성
2022. 6. 17. 22:26
\b : 단어가 아닌 것과 경계일 것 (문자나 숫자랑 붙으면 안 돼) |
\B : 단어와 경계일 것 (문자나 숫자랑 붙어 있어야 해) |
\b(one|two|three)\b | \B(one|two|three)\B |
![]() |
![]() |
\b(one|two|three)\B | \B(one|two|three)\b |
![]() |
![]() |