Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
multiline 접근자 속성은 m 플래그가 정규표현식에 사용되었는지 여부를 나타냅니다.
m 플래그가 사용된 경우 RegExp.prototype.multiline은 true 값을 가지며, 그렇지 않으면 false 값을 갖습니다. m 플래그는 여러 줄 입력 문자열을 여러 줄로 처리해야 함을 나타냅니다. 예를 들어, m이 사용되면 ^와 $는 전체 문자열의 시작 또는 끝에서만 일치하는 것에서 문자열 내의 모든 줄의 시작 또는 끝에서 일치하는 것으로 변경됩니다.
multiline의 set 접근자는 undefined, 즉 정의되지 않았습니다. 이 속성은 직접 변경할 수 없습니다.
| ECMAScript® 2027 Language Specification # sec-get-regexp.prototype.multiline |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.