mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
docs/ure: Add flags arg to ure.compile(), mention that ure.DEBUG is optional.
This commit is contained in:
@@ -47,7 +47,7 @@ etc. are not supported.
|
||||
Functions
|
||||
---------
|
||||
|
||||
.. function:: compile(regex_str)
|
||||
.. function:: compile(regex_str, [flags])
|
||||
|
||||
Compile regular expression, return `regex <regex>` object.
|
||||
|
||||
@@ -65,6 +65,7 @@ Functions
|
||||
.. data:: DEBUG
|
||||
|
||||
Flag value, display debug information about compiled expression.
|
||||
(Availability depends on `MicroPython port`.)
|
||||
|
||||
|
||||
.. _regex:
|
||||
|
||||
Reference in New Issue
Block a user