Skip to content

Commit 0ab67b3

Browse files
committed
Copyedit chapter 9
1 parent 995122d commit 0ab67b3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

09_regexp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if}}
2222

2323
{{index evolution, adoption, integration}}
2424

25-
Programming ((tool))s and techniques survive and spread in a chaotic, evolutionary way. It's not always the best or brilliant ones that win but rather the ones that function well enough within the right niche or that happen to be integrated with another successful piece of technology.
25+
Programming ((tool))s and techniques survive and spread in a chaotic, evolutionary way. It's not always the best or most brilliant ones that win, but rather the ones that function well enough within the right niche or that happen to be integrated with another successful piece of technology.
2626

2727
{{index "domain-specific language"}}
2828

@@ -391,9 +391,9 @@ If we want to enforce that the match must span the whole string, we can add the
391391

392392
{{index "word boundary", "word character"}}
393393

394-
There is also a `\b` marker that matches _word boundaries_, positions that have a word character one side, and a non-word character on the other. Unfortunately, these use the same simplistic concept of word characters as `\w`, and are therefore not very reliable.
394+
There is also a `\b` marker that matches _word boundaries_, positions that have a word character on one side, and a non-word character on the other. Unfortunately, these use the same simplistic concept of word characters as `\w`, and are therefore not very reliable.
395395

396-
Note that these boundary markers don't match any actual characters. They just enforce that a given condition holds at the place where they appears in the pattern.
396+
Note that these boundary markers don't match any actual characters. They just enforce that a given condition holds at the place where it appears in the pattern.
397397

398398
{{index "look-ahead"}}
399399

@@ -716,7 +716,7 @@ This method returns an array of match arrays. The regular expression given to `m
716716

717717
{{index comment, "file format", "enemies example", "INI file"}}
718718

719-
To conclude the chapter, we'll look at a problem that calls for ((regular expression))s. Imagine we are writing a program to automatically collect information about our enemies from the ((Internet)). (We will not actually write that program here, just the part that reads the ((configuration)) file. Sorry.) The configuration file looks like this:
719+
To conclude the chapter, we'll look at a problem that calls for ((regular expression))s. Imagine we are writing a program to automatically collect information about our enemies from the ((internet)). (We will not actually write that program here, just the part that reads the ((configuration)) file. Sorry.) The configuration file looks like this:
720720

721721
```{lang: "null"}
722722
searchengine=https://duckduckgo.com/?q=$1

0 commit comments

Comments
 (0)