Pattern Syntax

Pattern Syntax - - Describes PCRE regex syntax

Description

Differences From Perl





Regular Expression Details

Introduction

Meta-characters

Part of a pattern that is in square brackets is called a "character class". In a character class the only meta- characters are:
The following sections describe the use of each of the meta-characters.

backslash









Circumflex and dollar
















































FULL STOP










Square brackets












































































Vertical bar















Internal option setting




































































subpatterns





























































Repetition








































































































































BACK REFERENCES






























































Assertions






















































































































Once-only subpatterns








































































































Conditional subpatterns
























































Comments










Recursive patterns


























































Performances