RegexDirectoryIterator::$regex

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php \Drupal\Component\FileSystem\RegexDirectoryIterator::regex

The regular expression to match.

Type: string

File

core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php, line 15

Class

RegexDirectoryIterator
Iterates over files whose names match a regular expression in a directory.

Namespace

Drupal\Component\FileSystem

Code

protected $regex;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.