Last active
August 29, 2015 14:25
-
-
Save Amelia-Lopez/74823b92779a844b45b0 to your computer and use it in GitHub Desktop.
Regex
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
import java.util.regex.Pattern | |
pattern = Pattern.compile("GUID:\\p{XDigit}{8}-\\p{XDigit}{4}-\\p{XDigit}{4}-\\p{XDigit}{4}-\\p{XDigit}{12} - Beginning Feed Cache Invalidator Thread request.*", Pattern.DOTALL) | |
matcher = pattern.matcher("GUID:b4e8773e-6868-4f24-9536-38a38f1df369 - Beginning Feed Cache Invalidator Thread request.\n") | |
matcher.matches() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment