You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since there may be code that relies on this behavior, I think realistically we should some additional functions to support all the other match operators (<, <=, >=, > ~, !~) and deprecate filter.Regexp() and filter.NotRegexp()
The text was updated successfully, but these errors were encountered:
spencerhance
changed the title
Filter Regex Does Not Work As Expected
filter.Regexp() Does Not Work As Expected
Apr 21, 2021
filter.Regexp()
useseq
for regex's when it really should be~
.eq
or=
only do exact matches and a regex actually won't work here.https://cloud.google.com/sdk/gcloud/reference/topic/filters
Snippet from filter.go
Since there may be code that relies on this behavior, I think realistically we should some additional functions to support all the other match operators (
<, <=, >=, > ~, !~
) and deprecatefilter.Regexp()
andfilter.NotRegexp()
The text was updated successfully, but these errors were encountered: