mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
6222ec8a70
commit
36ffc2b3cf
@ -149,4 +149,4 @@ Thanks for helping with tips, corrections and such:
|
|||||||
For more about regexps see `The Python User Manual <https://docs.python.org/library/re.html>`_.
|
For more about regexps see `The Python User Manual <https://docs.python.org/library/re.html>`_.
|
||||||
The actual regular expression library used by calibre is:
|
The actual regular expression library used by calibre is:
|
||||||
`regex <https://bitbucket.org/mrabarnett/mrab-regex/src/hg/>`_ which supports
|
`regex <https://bitbucket.org/mrabarnett/mrab-regex/src/hg/>`_ which supports
|
||||||
several useful enhancements over the python standard library one.
|
several useful enhancements over the Python standard library one.
|
||||||
|
@ -685,7 +685,7 @@ and use it during the evaluation.
|
|||||||
|
|
||||||
**Developer: how to pass additional information**
|
**Developer: how to pass additional information**
|
||||||
|
|
||||||
The additional information is a python dictionary containing pairs ``variable_name: variable_value`` where the values
|
The additional information is a Python dictionary containing pairs ``variable_name: variable_value`` where the values
|
||||||
should be strings. The template can access the dict, creating template local variables named ``variable_name`` containing the
|
should be strings. The template can access the dict, creating template local variables named ``variable_name`` containing the
|
||||||
value ``variable_value``. The user cannot change the name so it is best to use names that won't collide with other
|
value ``variable_value``. The user cannot change the name so it is best to use names that won't collide with other
|
||||||
template local variables, for example by prefixing the name with an underscore.
|
template local variables, for example by prefixing the name with an underscore.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user