projects
/
elisp
/
lsdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Suppress warning: "regex literal in condition" (for Ruby 1.8).
[elisp/lsdb.git]
/
cvs2cl
/
fmtlog.rb
1
if $_ =~ /^\t(\* ([^:]+): )\* ([^: ]+)/ or $_ =~ /^\t\* [^:]+(:) \(/ or
2
$_ =~ /^\d{4}-\d{2}-\d{2}( \d{2}:\d{2})/
3
$_.slice!($~.begin(1) .. $~.end(1) - 1)
4
end