docs: mention the behavior of scan using regex with capturing groups (#3240)
This commit is contained in:
1 parent
39eea145b4
commit
ce54621904
4 files changed
+23
-3
No files matched your search
Generated
+6
@@ -47,6 +47,12 @@ scan("c")
|
||||
"c"
|
||||
"c"
|
||||
|
||||
scan("(a+)(b+)")
|
||||
"abaabbaaabbb"
|
||||
["a","b"]
|
||||
["aa","bb"]
|
||||
["aaa","bbb"]
|
||||
|
||||
split(", *"; null)
|
||||
"ab,cd, ef"
|
||||
["ab","cd","ef"]
|
||||
|
||||
Reference in new issue
Block a user