diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-22 18:52:58 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-22 18:52:58 +0100 |
commit | c325474383a59fc13dcfbc75f63f47918d836bc3 (patch) | |
tree | 6ccd4d2d0e46d60ec5fcabbec7039efc00618f22 /lib/sisu/v0/db_import.rb | |
parent | sisu-0.62.0 + md5s (diff) |
regex to match composite file names in db common and cgi
Diffstat (limited to 'lib/sisu/v0/db_import.rb')
-rw-r--r-- | lib/sisu/v0/db_import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/db_import.rb b/lib/sisu/v0/db_import.rb index 6d50fb2b..404d9437 100644 --- a/lib/sisu/v0/db_import.rb +++ b/lib/sisu/v0/db_import.rb @@ -75,7 +75,7 @@ module SiSU_DB_import @md=SiSU_Param::Parameters.new(@opt).get @fnb=@md.fnb end - @suffix=@opt.fns[/(?:.+?)\.[_-]?sst/,1] + @suffix=@opt.fns[/(?:.+?)(?:\.ssm\.sst|\.-?sst)/,1] @fnm="#@dal/#{@opt.fns}.meta.rbm" @@seg='' @@seg_full='' #create? consider placing field just before clean text as opposed to seg which contains seg(.html) name info seg_full would contain seg info for levels 5 & 6 where available eg seg_full may be 7.3 (level 5) and 7.3.1 (level 6) where seg is 7 |