r1chardj0n3s / parse

Parse strings using a specification based on the Python format() syntax.
http://pypi.python.org/pypi/parse
MIT License
1.72k stars 101 forks source link

Can't parse empty variable #109

Closed akhilgargjosh closed 4 years ago

akhilgargjosh commented 4 years ago

Take this example

a = "The '{name}' who say" b = "The '' who say"

parse(a,b) returns None whereas it should return empty string.

r1chardj0n3s commented 4 years ago

I believe this is already captured in the wishlist item #13