docs/ure: Add flags arg to ure.compile(), mention that ure.DEBUG is optional.

This commit is contained in:
Paul Sokolovsky 2017-11-04 00:26:31 +02:00
parent 1742ab2653
commit ad5a6f5917
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ etc. are not supported.
Functions Functions
--------- ---------
.. function:: compile(regex_str) .. function:: compile(regex_str, [flags])
Compile regular expression, return `regex <regex>` object. Compile regular expression, return `regex <regex>` object.
@ -65,6 +65,7 @@ Functions
.. data:: DEBUG .. data:: DEBUG
Flag value, display debug information about compiled expression. Flag value, display debug information about compiled expression.
(Availability depends on `MicroPython port`.)
.. _regex: .. _regex: