Perl Regular Expressions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

Perl's flavor of regular expressions is relatively similar to grep's, but it has a richer set of metacharacters.

Greedy/Reluctant

By default, the regular expressions are greedy.

To make then reluctant, use "*?".