Fix typos

This commit is contained in:
Alexey Pyltsyn 2019-05-12 19:49:39 +03:00
parent fd43d91350
commit b45c5a3f2d
2 changed files with 2 additions and 2 deletions

View file

@ -312,7 +312,7 @@ socket.onmessage = function(event) {
}
```
Server-side code is a little bit beyound our scope here. We're using browser WebSocket API, a server may have another library.
Server-side code is a little bit beyond our scope here. We're using browser WebSocket API, a server may have another library.
Still it can also be pretty simple. We'll use Node.js with <https://github.com/websockets/ws> module for websockets.

View file

@ -264,7 +264,7 @@ That's what's going on:
2. Then it looks for `pattern:.*?`: takes one character (lazily!), check if there's a match for `pattern:" class="doc">` (none).
3. Then takes another character into `pattern:.*?`, and so on... until it finally reaches `match:" class="doc">`.
But the problem is: that's already beyound the link, in another tag `<p>`. Not what we want.
But the problem is: that's already beyond the link, in another tag `<p>`. Not what we want.
Here's the picture of the match aligned with the text: