make re.split consistent with strutils.split and other programming languages; refs #7278
This commit is contained in:
parent
5c8332d871
commit
e2094bc6f4
2 changed files with 33 additions and 13 deletions
|
|
@ -4,10 +4,16 @@
|
|||
|
||||
#### Breaking changes in the standard library
|
||||
|
||||
- ``re.split`` for empty regular expressions now yields every character in
|
||||
the string which is what other programming languages chose to do.
|
||||
|
||||
#### Breaking changes in the compiler
|
||||
|
||||
### Library additions
|
||||
|
||||
- ``re.split`` now also supports the ``maxsplit`` parameter for consistency
|
||||
with ``strutils.split``.
|
||||
|
||||
### Library changes
|
||||
|
||||
### Language additions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue