fork download
  1. import re
  2. comment = """
  3. /*
  4. ******************************************************************
  5. $Log: oldfile.c,v $
  6. Revision 11.4 2000/01/20 19:01:41 userid
  7. blah blah blah
  8.  
  9. */
  10. """
  11.  
  12. matches = re.search(r"(\$Log:.*[\r\n]*.*[\r\n])(.*)", comment)
  13. print matches.group(2)
Success #stdin #stdout 0.01s 119552KB
stdin
Standard input is empty
stdout
blah blah blah