-
Notifications
You must be signed in to change notification settings - Fork 86
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
Contains function for stdlib #315
Conversation
Migrating as draft, as I want to get some functions from https://github.com/rbtylee/AmberResources/blob/main/lib/string/string.ab and add some test |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hands down we should go for the native solution. Thanks @KrosFire for the insight! |
Co-authored-by: Hubert Jabłoński <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changed to the native version, on my tests I didn't think about a oneline with the bash condition. PS: sorry I hidden @KrosFire review as error and I don't find a button to revert it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Phoenix Himself <[email protected]>
I used grep as it is seems the best way to do that and cross compatible.