하지만 일반적인 메타 문자를 전부 라우트 경로에 사용할 수 있는 건 아닙니다. 앞에서 언급한
+
,
?
,
*
,
(
,
)
만 가능합니다. ‘어떤 글자든’을 의미하는 메타 문자 마침표는 이스케이프하지 않
고 그대로 사용합니다.
라우트에 더 복잡하고 강력한 정규 표현식을 사용하고 싶다면, 다음과 같이 사용
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.