Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Hour 9: Regular Expressions |  | Previous HourNext Hour
Sections in this Hour: |  |

## Summary

You have now learned about regular expressions and different ways to use them. You can be certain that you will forget all this within two or three months if you do not start using them right away. Each time you search for something, or need to replace text, ask yourself, Can I use regular expressions here? It might slow down your work a bit in the beginning, but when you get a feel of it, you will see that regular expressions can make your work safer and faster. As an example, you will not by accident replace authentic with auwhentic when you replace then with when. Replacing several words with others (for example, f1 with file_f1, f2 with file_f2, and so on) can be done with one query-replace-regexp. This makes it much easier to check each replacement in cases where there are many matches that should not be replaced.

Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Hour 9: Regular Expressions |  | Previous HourNext Hour
Sections in this Hour: |  |

© Copyright Macmillan USA. All rights reserved.