Commit bca9d76
authored
Correct example in 9.14 (Lookahead and lookbehind)
Without the `g` flag, we cannot say that the price is skipped.
Without the `\b` assertion, we will have the `6` part of the price in the result.1 parent 633db6f commit bca9d76
File tree
1 file changed
+1
-1
lines changed- 9-regular-expressions/14-regexp-lookahead-lookbehind
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments