How do i replicate the following bash expression:

```bsh
if [[ "$foo" =~ (bar|spam) ]]; then
  echo "True"
fi

```

in Alpine's `/bin/sh`?

Typing it in as-is throws an error:

```
/bin/sh: syntax error: unexpected "(" (expecting "then")

```