28 lines
1.0 KiB
Markdown
28 lines
1.0 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').[DeityProcessor](DeityProcessor.md 'Pf2e\.Scrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.DeityProcessor')
|
|
|
|
## DeityProcessor\.MarkdownLinkRegex\(\) Method
|
|
|
|
```csharp
|
|
private static System.Text.RegularExpressions.Regex MarkdownLinkRegex();
|
|
```
|
|
|
|
#### Returns
|
|
[System\.Text\.RegularExpressions\.Regex](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex 'System\.Text\.RegularExpressions\.Regex')
|
|
|
|
### Remarks
|
|
Pattern:<br/>
|
|
|
|
```csharp
|
|
\\[([^\\]]+)\\]\\([^)]+\\)
|
|
```<br/>
|
|
Explanation:<br/>
|
|
|
|
```csharp
|
|
○ Match '['.<br/>
|
|
○ 1st capture group.<br/>
|
|
○ Match a character other than ']' atomically at least once.<br/>
|
|
○ Match the string "](".<br/>
|
|
○ Match a character other than ')' atomically at least once.<br/>
|
|
○ Match ')'.<br/>
|
|
``` |