34,333
edits
Changes
→Location Specific Matches
== Location Specific Matches ==
The final area of regular expressions to cover in this chapter involves matching based on the location of text in a string. For example, we may want to find a particular match that requires that a word appears at the beginning or end of a piece of text. Once again, this requires the use of some special metacharacters:
== Matching by Character Type ==