Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature #15771: Add `String#split` option to set split_type string when a single space separator #2132
This change will result in the following:
In String#split, when separator is a single space character, it execute as split_type: awk.
For example, CSV library handles it like this.
Unfortunately, in this case regexp is slower than string. For example,
So I want to add the :literal option to run as split_type: string.