Perl Regular Expressions

From NovaOrdis Knowledge Base
Revision as of 03:45, 30 July 2017 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 "*?".