Skip to content

Commit 0b8c34b

Browse files
committed
Add example to PatterScanner.ParsePattern method comment
1 parent 8adbf24 commit 0b8c34b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

UE3Plugin/UE3Plugin/Utils/PatternScanner.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ internal static class PatternScanner
1111
/// <summary>
1212
/// Parses a pattern to a byte array.
1313
/// </summary>
14+
/// <example>
15+
/// Supported pattern structures:
16+
/// with capture group:
17+
/// "E8 [....] 48 83 CB FF 45 85 F6"
18+
/// "E8 (....) 48 83 CB FF 45 85 F6"
19+
/// without:
20+
/// "E8 .... 48 83 CB FF 45 85 F6"
21+
/// "E8 ? ? ? ? 48 83 CB FF 45 85 F6"
22+
/// "E8 ?? ?? ?? ?? 48 83 CB FF 45 85 F6"
23+
/// </example>
1424
/// <param name="pattern">The pattern.</param>
1525
/// <param name="offset">The offset.</param>
1626
static List<byte?> ParsePattern(string pattern, out int offset)

0 commit comments

Comments
 (0)