re and nre now link to regex and tinyre (#21161)
This commit is contained in:
parent
0ffc322cf6
commit
ac5a36c0a4
2 changed files with 9 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ when defined(js):
|
||||||
## search the internet for a wide variety of third-party documentation and
|
## search the internet for a wide variety of third-party documentation and
|
||||||
## tools.
|
## tools.
|
||||||
##
|
##
|
||||||
## **Note**: If you love `sequtils.toSeq` we have bad news for you. This
|
## .. warning:: If you love `sequtils.toSeq` we have bad news for you. This
|
||||||
## library doesn't work with it due to documented compiler limitations. As
|
## library doesn't work with it due to documented compiler limitations. As
|
||||||
## a workaround, use this:
|
## a workaround, use this:
|
||||||
runnableExamples:
|
runnableExamples:
|
||||||
|
|
@ -29,6 +29,8 @@ runnableExamples:
|
||||||
iterator iota(n: int): int =
|
iterator iota(n: int): int =
|
||||||
for i in 0..<n: yield i
|
for i in 0..<n: yield i
|
||||||
assert sequtils.toSeq(iota(3)) == @[0, 1, 2]
|
assert sequtils.toSeq(iota(3)) == @[0, 1, 2]
|
||||||
|
## .. note:: There are also alternative nimble packages such as [tinyre](https://github.com/khchen/tinyre)
|
||||||
|
## and [regex](https://github.com/nitely/nim-regex).
|
||||||
## Licencing
|
## Licencing
|
||||||
## ---------
|
## ---------
|
||||||
##
|
##
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,10 @@ when defined(js):
|
||||||
## C library. This means that your application will depend on the PCRE
|
## C library. This means that your application will depend on the PCRE
|
||||||
## library's licence when using this module, which should not be a problem
|
## library's licence when using this module, which should not be a problem
|
||||||
## though.
|
## though.
|
||||||
|
##
|
||||||
|
## .. note:: There are also alternative nimble packages such as [tinyre](https://github.com/khchen/tinyre)
|
||||||
|
## and [regex](https://github.com/nitely/nim-regex).
|
||||||
|
##
|
||||||
## PCRE's licence follows:
|
## PCRE's licence follows:
|
||||||
##
|
##
|
||||||
## .. include:: ../../doc/regexprs.txt
|
## .. include:: ../../doc/regexprs.txt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue