1.1 KiB
1.1 KiB
Pf2e.Scrapper
Pf2e.Scrapper.Importers.Implementations.Aonprd.Processors.Types.Rules.RulesTocProcessor
RulesTocProcessor.LinkRegex() Method
public static System.Text.RegularExpressions.Regex LinkRegex();
Returns
System.Text.RegularExpressions.Regex
Remarks
Pattern:
<a href="Rules\\.aspx\\?ID=(\\d+)">(.*?)</a>
```<br/>
Explanation:<br/>
```csharp
○ Match the string "<a href=\"Rules.aspx?ID=".<br/>
○ 1st capture group.<br/>
○ Match a Unicode digit atomically at least once.<br/>
○ Match the string "\">".<br/>
○ 2nd capture group.<br/>
○ Match a character other than '\n' lazily any number of times.<br/>
○ Match the string "</a>".<br/>