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