Files
Pf2eDataScrapper/Documentation/Pf2e.Scrapper/StringHelper.LinkRegex().md
T

1.1 KiB

Pf2e.Scrapper

Pf2e.Scrapper.Importers.Implementations.Aonprd.Helpers.StringHelper

StringHelper.LinkRegex() Method

public static System.Text.RegularExpressions.Regex LinkRegex();

Returns

System.Text.RegularExpressions.Regex

Remarks

Pattern:

(.*?)\\[(.*?)\\]\\((.*?)\\)
```<br/>
Explanation:<br/>

```csharp
○ 1st capture group.<br/>
    ○ Match a character other than '\n' lazily any number of times.<br/>
○ Match '['.<br/>
○ 2nd capture group.<br/>
    ○ Match a character other than '\n' lazily 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/>