natural/java2python — pull request #18 by iuliux (2012-05-03 22:18:03+00:00)
Title: Added regex sub rule for String.format

Added a new output substitution regex rule to handle `String.format`.

Turns this:

String.format("(%d) %s", i, s);

into this:

"(%d) %s" % (i, s)

Does not handle the whole Java specs about `Formatter`, like `%1$d`

Test case added.