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& | 입력 문자열. |
| startat | int | 매칭을 시작할 인덱스. |
ReturnValue
찾은 모든 매치의 컬렉션.
또 보기
- Typedef MatchCollectionPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
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 | 매칭 옵션. |
| matchTimeout | TimeSpan | 시간 제한. |
| startat | int | Match 시작 위치. |
| 길이 | int | 검색할 문자 수 (0이면 제한 없음). |
ReturnValue
반복 매칭으로 찾은 모든 매치.
또 보기
- Typedef MatchCollectionPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++