Skip to content
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

list.grep('0') returns no items #322

Open
petdance opened this issue Jul 15, 2024 · 0 comments
Open

list.grep('0') returns no items #322

petdance opened this issue Jul 15, 2024 · 0 comments

Comments

@petdance
Copy link
Contributor

petdance commented Jul 15, 2024

grepping on 0 returns none of the elements of the list, because of a ||= in Template::VMethods::list_grep.

petdance added a commit to petdance/Template2 that referenced this issue Jul 16, 2024
@petdance petdance changed the title list.grep('0') returns everything in the list list.grep('0') returns no items Jul 16, 2024
abw added a commit that referenced this issue Jul 16, 2024
Fix GH #322: list.grep('0') never returns matches
petdance added a commit to petdance/Template2 that referenced this issue Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant