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

1.6 KiB

Pf2e.Scrapper

Pf2e.Scrapper.Importers.Implementations.Aonprd.Processors.Types.RitualProcessor

RitualProcessor.PrimaryRegex2() Method

private static System.Text.RegularExpressions.Regex PrimaryRegex2();

Returns

System.Text.RegularExpressions.Regex

Remarks

Pattern:

^ *(.*?) *\\[\\s*(.*?)\\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 ' ' atomically any number of times.<br/>
○ Match '['.<br/>
○ Match a whitespace character greedily any number of times.<br/>
○ 2nd 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 the string "](".<br/>
○ 3rd 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/>