doc: typo fix from tianchaijz in #419.
This commit is contained in:
Родитель
227a5f0e5f
Коммит
e9139a954b
|
@ -5191,7 +5191,7 @@ Curly braces can also be used to disambiguate variable names from the background
|
|||
```lua
|
||||
|
||||
local newstr, n, err = ngx.re.sub("hello, 1234", "[0-9]", "${0}00")
|
||||
-- newstr == "hello, 10034"
|
||||
-- newstr == "hello, 100234"
|
||||
-- n == 1
|
||||
```
|
||||
|
||||
|
|
|
@ -4327,7 +4327,7 @@ Curly braces can also be used to disambiguate variable names from the background
|
|||
|
||||
<geshi lang="lua">
|
||||
local newstr, n, err = ngx.re.sub("hello, 1234", "[0-9]", "${0}00")
|
||||
-- newstr == "hello, 10034"
|
||||
-- newstr == "hello, 100234"
|
||||
-- n == 1
|
||||
</geshi>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче