Skip to content

Instantly share code, notes, and snippets.

@Amelia-Lopez
Last active August 29, 2015 14:25
Show Gist options
  • Save Amelia-Lopez/74823b92779a844b45b0 to your computer and use it in GitHub Desktop.
Save Amelia-Lopez/74823b92779a844b45b0 to your computer and use it in GitHub Desktop.
Regex
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