We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thoughts on regex support? indexOf would have to be replaced with search
indexOf
search
const splitOnFirst = require('split-on-first'); splitOnFirst('a,b,c', /[.,]/); //=> ['a', 'b,c']
The text was updated successfully, but these errors were encountered:
Sure. Sounds useful.
How would it behave when the regex has a /g flag? I assume, just ignore it.
/g
Sorry, something went wrong.
I think that's automatically ignored:
No branches or pull requests
Thoughts on regex support?
indexOf
would have to be replaced withsearch
The text was updated successfully, but these errors were encountered: