File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
9-regular-expressions/08-regexp-greedy-and-lazy Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ socket.onmessage = function(event) {
312
312
}
313
313
```
314
314
315
- Server-side code is a little bit beyound our scope here. We're using browser WebSocket API, a server may have another library.
315
+ Server-side code is a little bit beyond our scope here. We're using browser WebSocket API, a server may have another library.
316
316
317
317
Still it can also be pretty simple. We'll use Node.js with < https://github.com/websockets/ws > module for websockets.
318
318
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ That's what's going on:
264
264
2 . Then it looks for ` pattern:.*? ` : takes one character (lazily!), check if there's a match for ` pattern:" class="doc"> ` (none).
265
265
3 . Then takes another character into ` pattern:.*? ` , and so on... until it finally reaches ` match:" class="doc"> ` .
266
266
267
- But the problem is: that's already beyound the link, in another tag ` <p> ` . Not what we want.
267
+ But the problem is: that's already beyond the link, in another tag ` <p> ` . Not what we want.
268
268
269
269
Here's the picture of the match aligned with the text:
270
270
You can’t perform that action at this time.
0 commit comments