This would be roughly equivalent to the SQL LIKE
comparison operator, e.g.,
{{ $regex := `^bar.*$`
{{ where .Pages "Params.foo" "like" $regex }}
It’s an interesting idea, but I’ll admit I’ve never needed it before.
This would be roughly equivalent to the SQL LIKE
comparison operator, e.g.,
{{ $regex := `^bar.*$`
{{ where .Pages "Params.foo" "like" $regex }}
It’s an interesting idea, but I’ll admit I’ve never needed it before.