1.2 KiB
1.2 KiB
Pf2e.Scrapper
Pf2e.Scrapper.Importers.Implementations.Aonprd.Helpers.StringHelper
StringHelper.SourceSuffixRegex() Method
public static System.Text.RegularExpressions.Regex SourceSuffixRegex();
Returns
System.Text.RegularExpressions.Regex
Remarks
Pattern:
^\\[.*?\\]\\(.*?\\)\\s+(.*)$
```<br/>
Explanation:<br/>
```csharp
○ Match if at the beginning of the string.<br/>
○ Match '['.<br/>
○ Match a character other than '\n' lazily any number of times.<br/>
○ Match the string "](".<br/>
○ Match a character other than '\n' lazily any number of times.<br/>
○ Match ')'.<br/>
○ Match a whitespace character greedily at least once.<br/>
○ 1st capture group.<br/>
○ Match a character other than '\n' greedily any number of times.<br/>
○ Match if at the end of the string or if before an ending newline.<br/>