-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
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
string match broken with multiline input #7938
Comments
Nope it's real, well found! |
There's a few things here:
This is currently documented:
I'm not sure there is better behavior here - how do you handle (tbh I've so far not found a great use case for variable importing to begin with, and this depends on what you want to do with it. I don't think we use it anywhere?) |
The problematic case is |
I don't understand why default to ignoring other arguments instead of letting the user be explicit by using |
@lelgenio the problem is that you can have something like
so the array is already used to access all matches in the first argument (or input line). |
My information
How to reproduce
I expected all of them to have the same result.
I bet there's no problem at all and i'm just missing something 🙄
The text was updated successfully, but these errors were encountered: