diff --git a/functions/pcre.xml b/functions/pcre.xml index bf597f96c5..1dd045c1bd 100644 --- a/functions/pcre.xml +++ b/functions/pcre.xml @@ -234,12 +234,17 @@ preg_match_all ("/\(? (\d{3})? \)? (?(1) [\-\s] ) \d{3}-\d{4}/x", mixed pattern mixed replacement mixed subject + int limit - Searches subject for matches to - pattern and replaces them with replacement - . + Searches subject for matches to + pattern and replaces them with + replacement . If + limit is specified, then only + limit matches will be replaced; if + limit is omitted or is -1, then all + matches are replaced. Replacement may contain references of the