I want to use a regex pattern to match at the beginning of input or there is not a word character.

I planed to use this pattern... but ^ only negates \W.

```
var pattern = /[^\W]s=/;

```

Is there maybe a workaround?