Split on empty sep: fix #552 moar
This commit is contained in:
1 parent
d630597e87
commit
8b5ff40402
2 files changed
+18
-8
No files matched your search
@@ -900,6 +900,10 @@ sub("^(?<head>.)"; "Head=\(.head) Tail=")
|
||||
["a,b, c, d, e,f",", a,b, c, d, e,f, "]
|
||||
[["a,b","c","d","e,f"],["","a,b","c","d","e,f",""]]
|
||||
|
||||
split("")
|
||||
"abc"
|
||||
["a","b","c"]
|
||||
|
||||
########################
|
||||
[.[]|[[sub(", *";":")], [gsub(", *";":")], [scan(", *")]]]
|
||||
["a,b, c, d, e,f",", a,b, c, d, e,f, "]
|
||||
|
||||
Reference in new issue
Block a user