Глобальный рефакторинг пространств имён
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#### [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://docs.microsoft.com/en-us/dotnet/api/System.Text.RegularExpressions.Regex 'System\.Text\.RegularExpressions\.Regex')
|
||||
|
||||
### Remarks
|
||||
Pattern:<br/>
|
||||
|
||||
```csharp
|
||||
^(\\d+)(?:\\-(\\d+))?,? *\\(?(.*?)\\)?$
|
||||
```<br/>
|
||||
Options:<br/>
|
||||
|
||||
```csharp
|
||||
RegexOptions.Multiline
|
||||
```<br/>
|
||||
Explanation:<br/>
|
||||
|
||||
```csharp
|
||||
○ Match if at the beginning of a line.<br/>
|
||||
○ 1st capture group.<br/>
|
||||
○ Match a Unicode digit greedily at least once.<br/>
|
||||
○ Optional (greedy).<br/>
|
||||
○ Match '-'.<br/>
|
||||
○ 2nd capture group.<br/>
|
||||
○ Match a Unicode digit greedily at least once.<br/>
|
||||
○ Match ',' greedily, optionally.<br/>
|
||||
○ Match ' ' greedily any number of times.<br/>
|
||||
○ Match '(' greedily, optionally.<br/>
|
||||
○ 3rd capture group.<br/>
|
||||
○ Match a character other than '\n' lazily any number of times.<br/>
|
||||
○ Match ')' atomically, optionally.<br/>
|
||||
○ Match if at the end of a line.<br/>
|
||||
```
|
||||
Reference in New Issue
Block a user