System::Text::RegularExpressions::Regex::Matches 메서드

Regex::Matches(const String&, int) method

주어진 문자열에서 정규식을 반복 매칭하여 모든 매치를 가져옵니다.

MatchCollectionPtr System::Text::RegularExpressions::Regex::Matches(const String &input, int startat=0)
매개변수형식설명
입력const String&입력 문자열.
startatint매칭을 시작할 인덱스.

ReturnValue

찾은 모든 매치의 컬렉션.

또 보기

Regex::Matches(const String&, const String&, RegexOptions, TimeSpan, int, int) method

문자열과 패턴 사이의 모든 매치를 가져옵니다.

static MatchCollectionPtr System::Text::RegularExpressions::Regex::Matches(const String &input, const String &pattern, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout, int startat=0, int length=0)
매개변수형식설명
입력const String&입력 문자열.
패턴const String&정규식 패턴.
옵션RegexOptions매칭 옵션.
matchTimeoutTimeSpan시간 제한.
startatintMatch 시작 위치.
길이int검색할 문자 수 (0이면 제한 없음).

ReturnValue

반복 매칭으로 찾은 모든 매치.

또 보기