Created
August 7, 2013 21:57
-
-
Save lennartkoopmann/6179176 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
lennart ~/workspace/graylog2/graylog2-web-interface(play)$ curl -XGET 'http://localhost:12900/tools/regex_tester?string=%3C10%3E%2007%20Aug%202013%20somesubsystem%3A%20this%20is%20my%20message%20for%20yo®ex=%5E.*somesubsystem%3A%20(.%2B)&pretty=true' -p0 | |
{ | |
"regex" : "^.*somesubsystem: (.+)", | |
"matched" : true, | |
"string" : "<10> 07 Aug 2013 somesubsystem: this is my message for you", | |
"match" : { | |
"start" : 32, | |
"match" : "this is my message for you", | |
"end" : 58 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment