RegexRunner.Scan Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Utilisé par un Regex objet généré par la CompileToAssembly méthode.
Surcharges
| Nom | Description |
|---|---|
| Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean) |
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code. Utilisé par un Regex objet généré par la CompileToAssembly méthode. |
| Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean, TimeSpan) |
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code. Utilisé par un Regex objet généré par la CompileToAssembly méthode. |
Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean)
Utilisé par un Regex objet généré par la CompileToAssembly méthode.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
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);
protected internal System.Text.RegularExpressions.Match Scan(System.Text.RegularExpressions.Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick);
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
Paramètres
- regex
- Regex
Instance du moteur d’expression régulière.
- text
- String
Texte à analyser pour une correspondance de modèle.
- textbeg
- Int32
Position de départ de base zéro dans text laquelle le moteur d’expression régulière analyse une correspondance.
- textend
- Int32
Position de fin de base zéro dans text laquelle le moteur d’expression régulière analyse une correspondance.
- textstart
- Int32
Position de départ de base zéro à analyser pour cette correspondance.
- prevlen
- Int32
Nombre de caractères dans la correspondance précédente.
- quick
- Boolean
true pour rechercher une correspondance en mode rapide ; sinon, false.
Retours
Une correspondance.
S’applique à
Scan(Regex, String, Int32, Int32, Int32, Int32, Boolean, TimeSpan)
Utilisé par un Regex objet généré par la CompileToAssembly méthode.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
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);
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);
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
Paramètres
- regex
- Regex
Instance du moteur d’expression régulière.
- text
- String
Texte à analyser pour une correspondance de modèle.
- textbeg
- Int32
Position de départ de base zéro dans text laquelle le moteur d’expression régulière analyse une correspondance.
- textend
- Int32
Position de fin de base zéro dans text laquelle le moteur d’expression régulière analyse une correspondance.
- textstart
- Int32
Position de départ de base zéro à analyser pour cette correspondance.
- prevlen
- Int32
Nombre de caractères dans la correspondance précédente.
- quick
- Boolean
true pour rechercher une correspondance en mode rapide ; sinon, false.
- timeout
- TimeSpan
Intervalle de délai d’expiration.
Retours
Une correspondance.