projects
/
elisp
/
lsdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d35617
)
Suppress warning: "regex literal in condition" (for Ruby 1.8).
author
ueno
<ueno>
Mon, 5 Jan 2004 06:37:23 +0000
(06:37 +0000)
committer
ueno
<ueno>
Mon, 5 Jan 2004 06:37:23 +0000
(06:37 +0000)
cvs2cl/fmtlog.rb
patch
|
blob
|
history
diff --git
a/cvs2cl/fmtlog.rb
b/cvs2cl/fmtlog.rb
index
923953e
..
3ae1bb7
100644
(file)
--- a/
cvs2cl/fmtlog.rb
+++ b/
cvs2cl/fmtlog.rb
@@
-1,4
+1,4
@@
-if /^\t(\* ([^:]+): )\* ([^: ]+)/ or /^\t\* [^:]+(:) \(/ or
- /^\d{4}-\d{2}-\d{2}( \d{2}:\d{2})/
+if $_ =~ /^\t(\* ([^:]+): )\* ([^: ]+)/ or $_ =~ /^\t\* [^:]+(:) \(/ or
+ $_ =~ /^\d{4}-\d{2}-\d{2}( \d{2}:\d{2})/
$_.slice!($~.begin(1) .. $~.end(1) - 1)
end