docs/ure: Add flags arg to ure.compile(), mention that ure.DEBUG is optional.
This commit is contained in:
parent
1742ab2653
commit
ad5a6f5917
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue