Results of 1 - 10 of about 36 for RegexIterator (0.003 sec.)
- 新しい RegexIterator を作成する 9477
- « RegexIterator::accept RegexIterator::getFlags » PHP Manual RegexIterator 新しい RegexIterator を作成する 検索 RegexIterator::__construct (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::__construct — 新しい RegexIterator を作成する 説明 publ
... ic function RegexIterator::__construct ( Iterator $iterator , string $pattern , int $mode = RegexIterator::MATCH , int $flags = 0 , int $pregFlags = ... 0 ) 新しい RegexIterator を作成します。これは、正規表現を使って Iterator をフィルタリングします。 パラメータ iterator この正規表現フィルタを適用する ... イテレータ。 pattern マッチさせる正規表現。 mode 操作モード。モードの一覧は RegexIterator::setMode() を参照ください。 flags 特殊なフラグ。フラグの一覧は RegexIterator::setFlags() を参照ください。 pregFlags 正規表 ...
-
https://man.mtool.work/php/8.3/regexiterator.construct.html
- 新しい RegexIterator を作成する 9445
- « RegexIterator::accept RegexIterator::getFlags » PHP Manual RegexIterator 新しい RegexIterator を作成する 検索 RegexIterator::__construct (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::__construct — 新しい RegexIterator を作成する 説明 publ
... ic function RegexIterator::__construct ( Iterator $iterator , string $pattern , int $mode = RegexIterator::MATCH , int $flags = 0 , int $pregFlags = ... 0 ) 新しい RegexIterator を作成します。これは、正規表現を使って Iterator をフィルタリングします。 パラメータ iterator この正規表現フィルタを適用する ... イテレータ。 pattern マッチさせる正規表現。 mode 操作モード。モードの一覧は RegexIterator::setMode() を参照ください。 flags 特殊なフラグ。フラグの一覧は RegexIterator::setFlags() を参照ください。 pregFlags 正規表 ...
-
https://man.mtool.work/php/8.3/regexiterator.construct.html
- 操作モードを設定する 9430
- « RegexIterator::setFlags RegexIterator::setPregFlags » PHP Manual RegexIterator 操作モードを設定する 検索 RegexIterator::setMode (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::setMode — 操作モードを設定する 説明 public function RegexIterator
... パラメータ mode 操作モード。 操作モードは次のとおりです。これらのモードの実際の意味については 定義済みの定数 で説明します。 RegexIterator のモード 値 定数 0 RegexIterator::MATCH 1 RegexIterator::GET_MATCH 2 RegexIterator::ALL_MATCHES 3 RegexIterator::SPLIT 4 R ... egexIterator::REPLACE 戻り値 値を返しません。 例 例1 RegexIterator::setMode() の例 <?php $test = array ( 'str1' => 'test 1' , 'test str2' => 'another test' , 'str3' => 'test 123' ); $arrayI ... terator = new ArrayIterator ( $test ); // 'test ' で始まってその後に 1 桁以上の数字が続くものだけを取り出します $regexIterator = new RegexIterator ( $arrayIterator , '/^test (\d+)/' ); // 操作モードは、実際の値をマッチした部分で置き換えます $regexIt ...
-
https://man.mtool.work/php/8.3/regexiterator.setmode.html
- 操作モードを設定する 9430
- « RegexIterator::setFlags RegexIterator::setPregFlags » PHP Manual RegexIterator 操作モードを設定する 検索 RegexIterator::setMode (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::setMode — 操作モードを設定する 説明 public function RegexIterator
... パラメータ mode 操作モード。 操作モードは次のとおりです。これらのモードの実際の意味については 定義済みの定数 で説明します。 RegexIterator のモード 値 定数 0 RegexIterator::MATCH 1 RegexIterator::GET_MATCH 2 RegexIterator::ALL_MATCHES 3 RegexIterator::SPLIT 4 R ... egexIterator::REPLACE 戻り値 値を返しません。 例 例1 RegexIterator::setMode() の例 <?php $test = array ( 'str1' => 'test 1' , 'test str2' => 'another test' , 'str3' => 'test 123' ); $arrayI ... terator = new ArrayIterator ( $test ); // 'test ' で始まってその後に 1 桁以上の数字が続くものだけを取り出します $regexIterator = new RegexIterator ( $arrayIterator , '/^test (\d+)/' ); // 操作モードは、実際の値をマッチした部分で置き換えます $regexIt ...
-
https://man.mtool.work/php/8.3/regexiterator.setmode.html
- 操作モードを返す 9366
- « RegexIterator::getFlags RegexIterator::getPregFlags » PHP Manual RegexIterator 操作モードを返す 検索 RegexIterator::getMode (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getMode — 操作モードを返す 説明 public function RegexIterator::getMo
... de (): int 操作モードを返します。操作モードの一覧は RegexIterator::setMode() を参照ください。 パラメータ この関数にはパラメータはありません。 戻り値 操作モードを返します。 例 例1 RegexIter ... 'str1' => 'test 1' , 'teststr2' => 'another test' , 'str3' => 'test 123' ); $arrayIterator = new ArrayIterator ( $test ); $regexIterator = new RegexIterator ( $arrayIterator , '/^[a-z]+/' , RegexIterator :: GET_MATCH ); $mode = $regexIterator -> getMode (); i ... f ( $mode & RegexIterator :: GET_MATCH ) { echo 'Getting the match for each item.' ; } elseif ( $mode & RegexIterator :: ALL_MATCHES ) { echo 'Getti ...
-
https://man.mtool.work/php/8.3/regexiterator.getmode.html
- 操作モードを返す 9366
- « RegexIterator::getFlags RegexIterator::getPregFlags » PHP Manual RegexIterator 操作モードを返す 検索 RegexIterator::getMode (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getMode — 操作モードを返す 説明 public function RegexIterator::getMo
... de (): int 操作モードを返します。操作モードの一覧は RegexIterator::setMode() を参照ください。 パラメータ この関数にはパラメータはありません。 戻り値 操作モードを返します。 例 例1 RegexIter ... 'str1' => 'test 1' , 'teststr2' => 'another test' , 'str3' => 'test 123' ); $arrayIterator = new ArrayIterator ( $test ); $regexIterator = new RegexIterator ( $arrayIterator , '/^[a-z]+/' , RegexIterator :: GET_MATCH ); $mode = $regexIterator -> getMode (); i ... f ( $mode & RegexIterator :: GET_MATCH ) { echo 'Getting the match for each item.' ; } elseif ( $mode & RegexIterator :: ALL_MATCHES ) { echo 'Getti ...
-
https://man.mtool.work/php/8.3/regexiterator.getmode.html
- RegexIterator クラス 9350
- « RecursiveTreeIterator::valid RegexIterator::accept » PHP Manual イテレータ RegexIterator クラス 検索 RegexIterator クラス (PHP 5 >= 5.2.0, PHP 7, PHP 8) はじめに このイテレータを使うと、別のイテレータを正規表現でフィルタリングすることがで
... きます。 クラス概要 class RegexIterator extends FilterIterator { /* 定数 */ public const int USE_KEY ; public const int INVERT_MATCH ; public const int MATCH ; pu ... ing $ replacement = null ; /* メソッド */ public function __construct ( Iterator $iterator , string $pattern , int $mode = RegexIterator::MATCH , int $flags = 0 , int $pregFlags = 0 ) public function accept (): bool public function getFlags (): int public fun ... (): void public function IteratorIterator::rewind (): void public function IteratorIterator::valid (): bool } 定義済み定数 RegexIterator の操作モード RegexIterator::ALL_MATCHES 現在のエントリにマッチするものをすべて返します ( preg_match_all() を参照ください)。 ...
-
https://man.mtool.work/php/8.3/class.regexiterator.html
- RegexIterator クラス 9350
- « RecursiveTreeIterator::valid RegexIterator::accept » PHP Manual イテレータ RegexIterator クラス 検索 RegexIterator クラス (PHP 5 >= 5.2.0, PHP 7, PHP 8) はじめに このイテレータを使うと、別のイテレータを正規表現でフィルタリングすることがで
... きます。 クラス概要 class RegexIterator extends FilterIterator { /* 定数 */ public const int USE_KEY ; public const int INVERT_MATCH ; public const int MATCH ; pu ... ing $ replacement = null ; /* メソッド */ public function __construct ( Iterator $iterator , string $pattern , int $mode = RegexIterator::MATCH , int $flags = 0 , int $pregFlags = 0 ) public function accept (): bool public function getFlags (): int public fun ... (): void public function IteratorIterator::rewind (): void public function IteratorIterator::valid (): bool } 定義済み定数 RegexIterator の操作モード RegexIterator::ALL_MATCHES 現在のエントリにマッチするものをすべて返します ( preg_match_all() を参照ください)。 ...
-
https://man.mtool.work/php/8.3/class.regexiterator.html
- フラグを取得する 9287
- « RegexIterator::__construct RegexIterator::getMode » PHP Manual RegexIterator フラグを取得する 検索 RegexIterator::getFlags (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getFlags — フラグを取得する 説明 public function RegexIterator::getFl
... ags (): int フラグを返します。使用可能なフラグの一覧は RegexIterator::setFlags() を参照ください。 パラメータ この関数にはパラメータはありません。 戻り値 設定されているフラグを返します。 例 例 ... 1 RegexIterator::getFlags() の例 <?php $test = array ( 'str1' => 'test 1' , 'teststr2' => 'another test' , 'str3' => 'test 123' ); $arrayI ... terator = new ArrayIterator ( $test ); $regexIterator = new RegexIterator ( $arrayIterator , '/^test/' ); $regexIterator -> setFlags ( RegexIterator :: USE_KEY ); if ( $regexIt ...
-
https://man.mtool.work/php/8.3/regexiterator.getflags.html
- フラグを取得する 9287
- « RegexIterator::__construct RegexIterator::getMode » PHP Manual RegexIterator フラグを取得する 検索 RegexIterator::getFlags (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getFlags — フラグを取得する 説明 public function RegexIterator::getFl
... ags (): int フラグを返します。使用可能なフラグの一覧は RegexIterator::setFlags() を参照ください。 パラメータ この関数にはパラメータはありません。 戻り値 設定されているフラグを返します。 例 例 ... 1 RegexIterator::getFlags() の例 <?php $test = array ( 'str1' => 'test 1' , 'teststr2' => 'another test' , 'str3' => 'test 123' ); $arrayI ... terator = new ArrayIterator ( $test ); $regexIterator = new RegexIterator ( $arrayIterator , '/^test/' ); $regexIterator -> setFlags ( RegexIterator :: USE_KEY ); if ( $regexIt ...
-
https://man.mtool.work/php/8.3/regexiterator.getflags.html