Date Determinator run

This commit is contained in:
AstRobot 2005-11-29 20:57:15 +00:00
parent fded0f37e9
commit c8b098f9a2
1 changed files with 3 additions and 1 deletions

View File

@ -414,7 +414,9 @@ page.text.split(/\n/).each { |line|
text_old = page.text.dup
signature = /(<!-- BEGIN TABLE ")(.+?)(" -->)(.+?)(<!-- END TABLE -->)/m
signature = /(<!-- BEGIN TABLE ")(.+?)(" -->
DATA )(.+?)( not found!
<!-- END TABLE -->)/m
page.text.gsub!(signature) { |part|
begin1,name,begin2,obsolete,end1 = part.match(signature).to_a[1..-1]
table = datasets[name] ? datasets[name].table : "DATA #{name} not found!"