E.4 Resources
Regular expressions are powerful tools, of course, but also a slippery slope on which computer-friendly folks can easily spend more time than anyone must know. Consider the clip in Figure E.4 a friendly warning:
Consult the following links for additional resources on regular expressions.
E.4.1 Background
For a proper definition, the historical background, and some key references on regular expressions:
E.4.2 Learning and training
Many online sites offer tutorials and ways of trying out your regex skills:
Regular-expressions.info provides regex information on various platforms, including R.
RegexOne and Rubular provide handy online tools for learning and exploring regular expressions.
Regex Crossword provides endless fun for regex nerds.
E.4.3 References
For using regular expressions in R:
Evaluating
?base::regex
provides documentation on Regular Expressions as used in R.See the back page of the Posit cheatsheets on the stringr package (Wickham, 2022) and the cheatsheet on Basic Regular Expressions in R (contributed by Ian Kopacka):
[70_regex.Rmd updated on 2024-10-16 22:07:22.191725 by hn.]