Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review feedback
  • Loading branch information
lzybkr committed Nov 2, 2017
commit 357e985fca78e7fe414589890f317d7120be24a5
Original file line number Diff line number Diff line change
Expand Up @@ -1743,11 +1743,10 @@ public static string Match(string text)
{
h = h | 0x20; // ToLower
}

// If the character isn't in any of our patterns,
// don't bother hashing and reset the running length.
if (!((h >= 'a' && h <= 'z') || h == '-'))
else if (!((h >= 'a' && h <= 'z') || h == '-'))
{
// If the character isn't in any of our patterns,
// don't bother hashing and reset the running length.
longestPossiblePattern = 0;
continue;
}
Expand Down