O'Reilly logo

A Practical Guide to Red Hat Linux: Fedora Core and Red Hat Enterprise Linux, Second Edition by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Regular Expressions

A regular expression defines a set of one or more strings of characters. Several of the Linux utilities, including vi, emacs, grep, gawk, and sed, use regular expressions to search for and replace strings. A simple string of characters is a regular expression that defines one string of characters: itself. A more complex regular expression uses letters, numbers, and special characters to define many different strings of characters. A regular expression is said to match any string it defines.

This appendix describes the regular expressions used by ed, vi, emacs, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required