Advertisement
emghufran

Untitled

Jun 7th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. ###SAMPLE
  2. #Jun 6 22:22:45 server-VirtualBox sudo: pam_unix(sudo:session): session opened for user root by #server(uid=1000)
  3. match = /(.*)?server-VirtualBox (.*)?: (.*)?: session opened for user ([.*])? /.match(s)
  4.  
  5. #Problem: i get "root by" in match[4] when i am only expecting "root"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement