File tree Expand file tree Collapse file tree
user_guide_src/source/libraries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,11 +105,14 @@ retainPattern(string $pattern, string $scope = null)
105105====================================================
106106
107107Filters the current file list through the pattern (and optional scope), removing
108- or retaining matched files. ``$pattern `` may be a complete regex (like ``'#[A-Za-z]+\.php#' ``)
109- or a pseudo-regex similar to ``glob() `` (like ``*.css ``). If a ``$scope `` is
110- provided then only files in or under that directory will be considered (i.e. files
111- outside of ``$scope `` are always retained). When no scope is provided then all
112- files are subject.
108+ or retaining matched files.
109+
110+ ``$pattern `` may be a complete regex (like ``'#[A-Za-z]+\.php#' ``) or a pseudo-regex
111+ similar to ``glob() `` (like ``*.css ``).
112+
113+ If a ``$scope `` is provided then only files in or under that directory will be
114+ considered (i.e. files outside of ``$scope `` are always retained). When no scope
115+ is provided then all files are subject.
113116
114117Examples:
115118
You can’t perform that action at this time.
0 commit comments