I found a post saying that both slashes could be used and it'll be normalized, so I switched it:
Code:
program:
if $$#fanficcat then
re(sublist($tags, ',', 0, 1), '\.', '/')
elif $formats == 'PDF' then
'PDF'
else
re(sublist($tags, ',', 0, 1), '^(.*?)($|\..*$)', '\1')
fi
Unfortunately now I am getting an
invalid literal for int() with base 10: ',' What happened?