Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the %() format function doesn't handle %s followed by %d #198

Closed
spudbean opened this issue Feb 14, 2011 · 1 comment
Closed

the %() format function doesn't handle %s followed by %d #198

spudbean opened this issue Feb 14, 2011 · 1 comment

Comments

@spudbean
Copy link
Contributor

Instead, the any %s match also greedily consumes the following %d

For example:

  • given: %("/%s/path?r=%d&x=y", "base", 32);
  • expected: "/base/path?r=32&x=y"
  • actual: "/base/path?r=\"base\"&x=y"
@spudbean
Copy link
Contributor Author

A fix for this is in pull-request 199
#199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants