RegexRunner.Scan 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
메서드에서 Regex 생성된 개체에서 CompileToAssembly 사용됩니다.
오버로드
| Name | Description |
|---|---|
| Scan(ReadOnlySpan<Char>) |
개체에서 Regex 다음 일치 항목을 찾는 입력 |
| Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean) |
이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.
사용되지 않음.
개체에서 입력 |
| Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean, TimeSpan) |
이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.
사용되지 않음.
이 메서드의 본문은 어셈블리 외부의 사용자가 호출할 수 있는 보호된 멤버이므로 유지됩니다. |
Scan(ReadOnlySpan<Char>)
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
개체에서 Regex 다음 일치 항목을 찾는 입력 text 을 검색하는 데 사용됩니다.
protected public:
virtual void Scan(ReadOnlySpan<char> text);
protected internal virtual void Scan(ReadOnlySpan<char> text);
abstract member Scan : ReadOnlySpan<char> -> unit
override this.Scan : ReadOnlySpan<char> -> unit
Protected Friend Overridable Sub Scan (text As ReadOnlySpan(Of Char))
매개 변수
- text
- ReadOnlySpan<Char>
패턴 일치를 검색할 텍스트입니다.
예외
ReadOnlySpan<T>-based Regex 메서드는 Regex.CompileToAssembly에서 생성된 파생 형식에서 Regex지원되지 않습니다.
설명
이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.
적용 대상
Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean)
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
주의
This API supports obsolete mechanisms for Regex extensibility. It is not supported.
개체에서 입력text을 Regex 검색하는 데 사용됩니다.
이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.
protected public:
System::Text::RegularExpressions::Match ^ Scan(System::Text::RegularExpressions::Regex ^ regex, System::String ^ text, int textbeg, int textend, int textstart, int prevlen, bool quick);
[System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected internal System.Text.RegularExpressions.Match? Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick);
protected internal System.Text.RegularExpressions.Match? Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick);
protected internal System.Text.RegularExpressions.Match Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick);
[<System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.Scan : System.Text.RegularExpressions.Regex * string * int * int * int * int * bool -> System.Text.RegularExpressions.Match
member this.Scan : System.Text.RegularExpressions.Regex * string * int * int * int * int * bool -> System.Text.RegularExpressions.Match
Protected Friend Function Scan (regex As Regex, text As String, textbeg As Integer, textend As Integer, textstart As Integer, prevlen As Integer, quick As Boolean) As Match
매개 변수
- regex
- Regex
정규식 엔진의 인스턴스입니다.
- text
- String
패턴 일치를 검색할 텍스트입니다.
- textbeg
- Int32
정규식 엔진이 text 일치 항목을 검색하는 0부터 시작하는 위치입니다.
- textend
- Int32
정규식 엔진이 text 일치 항목을 검색하는 끝 위치(0부터 시작)입니다.
- textstart
- Int32
이 일치 항목을 검색할 0부터 시작하는 위치입니다.
- prevlen
- Int32
이전 일치 항목의 문자 수입니다.
- quick
- Boolean
true빠른 모드에서 일치 항목을 검색하려면 그렇지 않으면 . false
반품
일치 항목입니다.
- 특성
적용 대상
Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean, TimeSpan)
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
- Source:
- RegexRunner.cs
주의
This API supports obsolete mechanisms for Regex extensibility. It is not supported.
이 메서드의 본문은 어셈블리 외부의 사용자가 호출할 수 있는 보호된 멤버이므로 유지됩니다.
이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.
protected public:
System::Text::RegularExpressions::Match ^ Scan(System::Text::RegularExpressions::Regex ^ regex, System::String ^ text, int textbeg, int textend, int textstart, int prevlen, bool quick, TimeSpan timeout);
[System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected internal System.Text.RegularExpressions.Match? Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick, TimeSpan timeout);
protected internal System.Text.RegularExpressions.Match? Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick, TimeSpan timeout);
protected internal System.Text.RegularExpressions.Match Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick, TimeSpan timeout);
[<System.Obsolete("This API supports obsolete mechanisms for Regex extensibility. It is not supported.", DiagnosticId="SYSLIB0052", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.Scan : System.Text.RegularExpressions.Regex * string * int * int * int * int * bool * TimeSpan -> System.Text.RegularExpressions.Match
member this.Scan : System.Text.RegularExpressions.Regex * string * int * int * int * int * bool * TimeSpan -> System.Text.RegularExpressions.Match
Protected Friend Function Scan (regex As Regex, text As String, textbeg As Integer, textend As Integer, textstart As Integer, prevlen As Integer, quick As Boolean, timeout As TimeSpan) As Match
매개 변수
- regex
- Regex
정규식 엔진의 인스턴스입니다.
- text
- String
패턴 일치를 검색할 텍스트입니다.
- textbeg
- Int32
정규식 엔진이 text 일치 항목을 검색하는 0부터 시작하는 위치입니다.
- textend
- Int32
정규식 엔진이 text 일치 항목을 검색하는 끝 위치(0부터 시작)입니다.
- textstart
- Int32
이 일치 항목을 검색할 0부터 시작하는 위치입니다.
- prevlen
- Int32
이전 일치 항목의 문자 수입니다.
- quick
- Boolean
true빠른 모드에서 일치 항목을 검색하려면 그렇지 않으면 . false
- timeout
- TimeSpan
시간 제한 간격입니다.
반품
일치 항목입니다.
- 특성