diff --git a/reference/pcre/pattern.syntax.xml b/reference/pcre/pattern.syntax.xml index 88f81ddc5d..12ddffa130 100644 --- a/reference/pcre/pattern.syntax.xml +++ b/reference/pcre/pattern.syntax.xml @@ -39,10 +39,12 @@ following are all examples of valid delimited patterns. - /foo bar/ - #^[^0-9]$# - +php+ - %[a-zA-Z0-9_-]% + @@ -53,8 +55,10 @@ readability. - /http:\/\// - #http://# + The preg_quote function may be used to escape a string @@ -67,7 +71,9 @@ starting and ending delimiter, respectively. - {this is a pattern} + @@ -77,7 +83,9 @@ of case-insensitive matching: - #[a-z]#i +