Restore split/1; don't use regexp (fix #576)
This commit is contained in:
1 parent
07d8d5c5ef
commit
1796a716ea
3 files changed
+7
-11
No files matched your search
@@ -1046,7 +1046,6 @@ static const char* const jq_builtins[] = {
|
||||
//
|
||||
// split emits an array for backward compatibility
|
||||
"def split($re; flags): [ splits($re; flags) ];",
|
||||
"def split($re): [ splits($re; null) ];",
|
||||
//
|
||||
// If s contains capture variables, then create a capture object and pipe it to s
|
||||
"def sub($re; s):"
|
||||
|
||||
Reference in new issue
Block a user