mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a2578eac7c
commit
105d13862d
@ -240,7 +240,7 @@ The ``match`` argument
|
|||||||
|
|
||||||
The ``match`` argument represents the currently found match. It is a
|
The ``match`` argument represents the currently found match. It is a
|
||||||
`python Match object <https://docs.python.org/2.7/library/re.html#match-objects>`_.
|
`python Match object <https://docs.python.org/2.7/library/re.html#match-objects>`_.
|
||||||
It's most useful method is ``group()`` which can be used to get the matched
|
Its most useful method is ``group()`` which can be used to get the matched
|
||||||
text corresponding to individual capture groups in the search regular
|
text corresponding to individual capture groups in the search regular
|
||||||
expression.
|
expression.
|
||||||
|
|
||||||
@ -271,7 +271,7 @@ The ``dictionaries`` argument
|
|||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
This represents the collection of dictionaries used for spell checking the
|
This represents the collection of dictionaries used for spell checking the
|
||||||
current book. It's most useful method is ``dictionaries.recognized(word)``
|
current book. Its most useful method is ``dictionaries.recognized(word)``
|
||||||
which will return ``True`` if the passed in word is recognized by the dictionary
|
which will return ``True`` if the passed in word is recognized by the dictionary
|
||||||
for the current book's language.
|
for the current book's language.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user