10.754
redigeringer
Lasse (diskussion | bidrag) No edit summary |
Lasse (diskussion | bidrag) No edit summary |
||
| Linje 245: | Linje 245: | ||
if ( string.find(stykke, '.', 1, true) ) then | if ( string.find(stykke, '.', 1, true) ) then | ||
-- punkter i stk 2658 | -- punkter i stk 2658 | ||
forstestykke, punkt = stykke:match("(.+) | forstestykke, punkt = stykke:match("(.+).(.+)") | ||
return 'forstestykke: ' .. forstestykke .. ' punkt: ' .. punkt | -- return 'forstestykke: ' .. forstestykke .. ' punkt: ' .. punkt | ||
-- if ( tonumber(punkt) ~= nil ) then | -- if ( tonumber(punkt) ~= nil ) then | ||
return '[https://www.martinus.dk/da/onlinebibliotek/dtt/index.php?bog=' .. bogIDer[bog] .. '&stk=' .. forstestykke .. '&pkt=' .. punkt .. ' ' .. stykbeskrivelse .. '])' | |||
-- end | -- end | ||
end | end | ||