Simple math for Regex
Hello Thom,
thank you for your quick help!
Your function works with INT:
Return ('<sup>' + str (33 + int (match.group (1))) + '</ sup>')
But not with LONG
Return ('<sup>' + str (long(293) + long (match.group (1))) + '</ sup>')
I hope you have a solution for this.
PS: if you are over 70 years old, you should use your limited time for food, drink and pretty women!
MfG
Andreas
Last edited by calibre-ak-4711; 03-15-2017 at 03:21 PM.
|