Anton Shestakov <engored@ya.ru>, Sun, 14 Sep 2014 23:30:24 +0900
Avoid having to add a make cheatsheet by not using make. Problem solved.
.. %, mapping, conversion, min width, precision, length, type ``%[(<name>)]`` *|* ``[#0- +][<min width 0-9*>][.<0-9*>][<length>]dioxXeEfFgGcrs`` the value conversion will use the “alternate form” (where defined below)
the conversion will be zero padded for numeric values
the converted value is left adjusted (overrides the '0' conversion if both
(a space) a blank should be left before a positive number (or empty string)
produced by a signed conversion
a sign character ('+' or '-') will precede the conversion (overrides a
signed hexadecimal
*lowercase*,
*uppercase* floating point exponential format
*lowercase*,
*uppercase* floating point decimal format
floating point format. Uses
*lowercase*,
*uppercase* exponential format if
exponent is less than -4 or not less than precision, decimal format
single character (accepts integer or single character string)
string (converts any Python object using repr())
string (converts any Python object using str())
<div style="max-width: 600px;">
the group matches the empty string; the letters set the corresponding flags
a non-capturing version of regular parentheses
the substring matched by the group is accessible via the symbolic group
matches whatever text was matched by the earlier named group named
the contents of the parentheses are simply ignored
lookahead assertion: matches next, but doesn't consume any of the string
negative lookahead assertion
lookbehind assertion: matches a preceding string
negative lookbehind assertion, patterns which start with it may match at
the beginning of the string being searched
``(?(id/name)yes-pattern|no-pattern)`` sorcery.
``(<)?(\w+@\w+(?:\.\w+)+)(?(1)>)``