#### [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\.PrimaryRegex1\(\) Method ```csharp private static System.Text.RegularExpressions.Regex PrimaryRegex1(); ``` #### Returns [System\.Text\.RegularExpressions\.Regex](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex 'System\.Text\.RegularExpressions\.Regex') ### Remarks Pattern:
```csharp ^ *\\[\\s*(.*?)\\s*\\]\\((.*?)\\)\\s*([a-z' ]*?)<(.*?)(?:[;,]?\\s*(.*?))?>([a-z' ]*?)$ ```
Options:
```csharp RegexOptions.Multiline ```
Explanation:
```csharp ○ Match if at the beginning of a line.
○ Match ' ' atomically any number of times.
○ Match '['.
○ Match a whitespace character greedily any number of times.
○ 1st capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match a whitespace character atomically any number of times.
○ Match the string "](".
○ 2nd capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match ')'.
○ Match a whitespace character greedily any number of times.
○ 3rd capture group.
○ Match a character in the set [ 'a-z] atomically any number of times.
○ Match '<'.
○ 4th capture group.
○ Match a character other than '\n' lazily any number of times.
○ Optional (greedy).
○ Match a character in the set [,;] greedily, optionally.
○ Match a whitespace character greedily any number of times.
○ 5th capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match '>'.
○ 6th capture group.
○ Match a character in the set [ 'a-z] atomically any number of times.
○ Match if at the end of a line.
```