Fix for Swift "class" keyword matching

Currently the Swift highlighting will match class keywords that appear within another word. For example:

```swift
var instruction = Instruction()
```

Will match the *struct* in *instruction* and break the highlighting.

This patch updates the regular expression to only match "class" keywords that are at the start of a line, or preceded by any non-word character (e.g. space or tab).