February 2004
Intermediate to advanced
160 pages
2h 27m
English
You’ve now learned how to match all sorts of characters in all sorts of combinations and repetitions and in any location within text. However, it is sometimes necessary to match at specific locations within a block of text, and this requires position matching, which is explained in this lesson.
Position matching is used to specify where within a string of text a match should occur. To understand the need for position matching, consider the following example:
![]()
The cat scattered his food all over the room.
cat
The cat scattered his food all over the room.
The pattern cat matches all occurrences of ...
Read now
Unlock full access