Modify pegs.nim such that no match will return nil
An empty match will return "" A zero-length match will return nil Add test cases Add news information
This commit is contained in:
parent
73ff0432dc
commit
bc3464ede7
2 changed files with 19 additions and 1 deletions
|
|
@ -20,6 +20,8 @@ News
|
|||
- String case (or any non-ordinal case) statements
|
||||
without 'else' are deprecated.
|
||||
- Recursive tuple types are not allowed anymore. Use ``object`` instead.
|
||||
- The PEGS module returns ``nil`` instead of ``""`` when an optional capture
|
||||
fails to match
|
||||
|
||||
Language Additions
|
||||
------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue