Created
February 27, 2018 21:57
-
-
Save AndyG/96efce9f30ff2f7f5b013c182ce4fbd5 to your computer and use it in GitHub Desktop.
Parser Nefarious Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (rule in rules) { | |
val matcher = rule.pattern.matcher(mutableSource) | |
if (matcher.find()) { | |
// Do stuff with the rule that matched the text | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment