Remove reExtended from re constructor. Fixes #5627. (#6514)

* Remove reExtended from re constructor. Fixes #5627.

* Implement `rex` procedure as requested by @Araq.
This commit is contained in:
Dominik Picheta 2017-10-20 20:43:34 +01:00 • committed by Andreas Rumpf
commit aa96343f1d
2 changed files with 12 additions and 7 deletions

View file

@ -8,7 +8,9 @@
- Arrays of char cannot be converted to ``cstring`` anymore, pointers to
arrays of char can! This means ``$`` for arrays can finally exist
in ``system.nim`` and do the right thing.
- JSON: Deprecated `getBVal`, `getFNum`, and `getNum` in favour to
`getBool`, `getFloat`, `getBiggestInt`. Also `getInt` procedure was added.
- ``echo`` now works with strings that contain ``\0`` (the binary zero is not
shown) and ``nil`` strings are equal to empty strings.
- JSON: Deprecated `getBVal`, `getFNum`, and `getNum` in favour to
`getBool`, `getFloat`, `getBiggestInt`. Also `getInt` procedure was added.
- `reExtended` is no longer default for the `re` constructor in the `re`
module.