Skip to content
R for the Rest of Us Logo

Metacharacters: Alternation, Special Sequences, and Escapes

This lesson is locked

Get access to all lessons in this course.

If the video is not playing correctly, you can watch it in a new window


Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

Enter “That athlete is at the squat rack” as the test string in a regex tester.

Why are the matches different with the following three regular expressions?

a) at
b) \bat
c) at\b

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.