Cannot use multiple variables on the same template input line

Issue #1 new
Tim Cera repo owner created an issue

Found this on SourceForge. Reported by Stephan Meister (https://sourceforge.net/u/abyssary/profile/) in 2011. Discovered 2015-05-28. Will look over the next couple of days to make sure this isn't still a bug in play:


If an input line contains multiple expressions for variable replacement, pyslice will only work correctly if all of them contain the same variable. The example $$'%04d' % a $$ $$'%04d' % b $$ with variables a and b and the escape sequence $$ will fail. This is caused by the regexp in line 246 which will match the whole expression and not 2 separate ones (greedy)


Comments (0)

  1. Log in to comment