Can these two regex expressions ever give a different result?

`perl -pe 's/.*c//s'`

`perl -0777 -pe 's/.*c//s'`

Where the `.*c` can be replaced with anything.. 

In the `.*c` case the result is the same

```
$ echo -e 'a\nb\nc\nd' | perl -pe 's/.*c//s'
a
b

d

$ echo -e 'a\nb\nc\nd' | perl -0777 -pe 's/.*c//'
a
b

d

```

And the question re the difference between the regexes, is where what is echoed can be replaced with anything too.

Are `-0777` and `/s` interchangeable?

And is it pointless to do both `-0777` with `/s` ?