re module returns nil on failed captures

- tests included
- news.txt updated
This commit is contained in:
Flaviu Tamas 2014-10-26 09:31:21 -04:00
commit 218cb7587a
2 changed files with 15 additions and 3 deletions

View file

@ -22,6 +22,8 @@ News
- Recursive tuple types are not allowed anymore. Use ``object`` instead.
- The PEGS module returns ``nil`` instead of ``""`` when an optional capture
fails to match
- The re module returns ``nil`` instead of ``""`` when an optional capture
fails to match
Language Additions
------------------