Skip to content

Commit

Permalink
fix: regex eval case
Browse files Browse the repository at this point in the history
closes #4
  • Loading branch information
polds committed Jan 26, 2024
1 parent 8cebeba commit d0b6a1a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eval/eval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ func TestEval(t *testing.T) {
},
{
name: "regex",
exp: "object.image.find('v[0-9]+.[0-9]+.[0-9]*$')",
want: "v0.0.0",
skip: true, // https://github.com/polds/expr-playground/issues/4
exp: "object.image matches 'v[0-9]+.[0-9]+.[0-9]*$'",
want: true,
},
{
name: "list",
Expand Down

0 comments on commit d0b6a1a

Please sign in to comment.