View Single Post
Old 04-12-2021, 04:59 PM   #34
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,065
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
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?
ownedbycats is online now   Reply With Quote