Package: wnpp
Severity: wishlist
Owner: Arthur Vuillard <[email protected]>

* Package name    : python-parse
  Version         : 1.6.3
  Upstream Author : Richard Jones <[email protected]>
* URL             : https://github.com/r1chardj0n3s/parse
* License         : BSD
  Programming Lang: Python
  Description     : Parse provides the reverse function for format()


Parse strings using a specification based on the Python format() syntax.

   ``parse()`` is the opposite of ``format()``

The module is set up to only export ``parse()``, ``search()`` and
``findall()`` when ``import *`` is used:

>>> from parse import *

>From there it's a simple thing to parse a string:

>>> parse("It's {}, I love it!", "It's spam, I love it!")
<Result ('spam',) {}>
>>> _[0]
'spam'


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to