Files
Pf2eDataScrapper/Documentation/Pf2e.Scrapper/RitualProcessor.PrimaryRegex3().md
T

38 lines
1.3 KiB
Markdown

#### [Pf2e\.Scrapper](index.md 'index')
### [Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2e.Scrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[RitualProcessor](RitualProcessor.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.RitualProcessor')
## RitualProcessor\.PrimaryRegex3\(\) Method
```csharp
private static System.Text.RegularExpressions.Regex PrimaryRegex3();
```
#### Returns
[System\.Text\.RegularExpressions\.Regex](https://docs.microsoft.com/en-us/dotnet/api/System.Text.RegularExpressions.Regex 'System\.Text\.RegularExpressions\.Regex')
### Remarks
Pattern:<br/>
```csharp
^ *(.*?)\\s*<(.*?)> *$
```<br/>
Options:<br/>
```csharp
RegexOptions.Multiline
```<br/>
Explanation:<br/>
```csharp
○ Match if at the beginning of a line.<br/>
○ Match ' ' greedily any number of times.<br/>
○ 1st capture group.<br/>
○ Match a character other than '\n' lazily any number of times.<br/>
○ Match a whitespace character atomically any number of times.<br/>
○ Match '<'.<br/>
○ 2nd capture group.<br/>
○ Match a character other than '\n' lazily any number of times.<br/>
○ Match '>'.<br/>
○ Match ' ' atomically any number of times.<br/>
○ Match if at the end of a line.<br/>
```