Update regexps.qmd (#1062)

* Update regexps.qmd

Fixed an error.

* Update regexps.qmd

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>
This commit is contained in:
Y. Yu 2022-08-29 06:11:57 -04:00 committed by GitHub
parent 2110e26f22
commit 7d4f86ca66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ str_detect(neg, pattern)
It's typically much easier to come up with positive examples than negative examples, because it takes some time until you're good enough with regular expressions to predict where your weaknesses are.
Nevertheless they're still useful; even if you don't get them correct right away, you can slowly accumulate them as you work on your problem.
If you you later get more into programming and learn about unit tests, you can then turn these examples into automated test that ensure you never make the same mistake twice.)
If you later get more into programming and learn about unit tests, you can then turn these examples into automated tests that ensure you never make the same mistake twice.)
### Boolean operations {#sec-boolean-operations}