« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 114 for regex (0.001 sec.)
MongoDB\BSON\Regex::__toString — Returns the string representation of this Rege... 10080
MongoDB\BSON\Regex::__toString (mongodb >=1.0.0) MongoDB\BSON\Regex::__toString — Returns the string representation of this Regex 説明 final public function MongoDB\BSON\Regex::__toString (): string パラメータ この関数にはパラメータはありま ... せん。 戻り値 Returns the string representation of this Regex. 例 例1 MongoDB\BSON\Regex::__toString() example <?php $regex = new MongoDB\BSON\Regex ( 'regex' , 'i' ); var_dump ((strin ... g) $regex ); ?> 上の例の出力は以下となります。 string(8) "/regex/i" 参考 » BSON Types 他のマニュアルの関連ページ Linux JM regex(3) L ... inux JM regex(7) Linux JM re_exec(3) Linux JM re_comp(3) Python fnmatch Linux JM regfree(3) ...
https://man.mtool.work/php/8.3/mongodb-bson-regex.tostring.html
MongoDB\BSON\Regex::getPattern — Returns the Regex's pattern | PHP 8.3 10042
MongoDB\BSON\Regex::getPattern (mongodb >=1.0.0) MongoDB\BSON\Regex::getPattern — Returns the Regex's pattern 説明 final public function MongoDB\BSON\Regex::getPattern (): string パラメータ この関数にはパラメータはありません。 戻り値 Return ... s the Regex's pattern. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 Mongo ... DB\BSON\Regex::getPattern() example <?php $regex = new MongoDB\BSON\Regex ( 'regex' , 'i' ); var_dump ( $regex -> getPattern ()); ?> 上の ... 例の出力は、 たとえば以下のようになります。 string(5) "regex" 参考 » BSON Types 他のマニュアルの関連ページ Linux JM regex(3) Linux JM regex(7) Python fnmatch DuckDB Regular Expression ...
https://man.mtool.work/php/8.3/mongodb-bson-regex.getpattern.html
The MongoDB\BSON\Regex class | PHP 8.3 9966
The MongoDB\BSON\Regex class (mongodb >=1.0.0) はじめに BSON type for a regular expression pattern and optional » flags . 注意 : This BSON type is mainly used when querying the database. Alternatively, the » $regex query operator may be use ... d. クラス概要 final class MongoDB\BSON\Regex implements MongoDB\BSON\RegexInterface , MongoDB\BSON\Type , JsonSerializable , Stringable { /* メソッド */ final public f ... Serializable interface. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. PECL mongodb 1.3.0 Implements MongoDB\BSON\RegexInterface . PECL mongodb 1.2.0 Implements Serializable and JsonSerializable . 目次 MongoDB\BSON\Regex::__construct — Constr ... uct a new Regex MongoDB\BSON\Regex::getFlags — Returns the Regex's flags MongoDB\BSON\Regex::getPattern — Returns the Regex's pattern Mong ...
https://man.mtool.work/php/8.3/class.mongodb-bson-regex.html
MongoDB\BSON\Regex::getFlags — Returns the Regex's flags | PHP 8.3 9903
MongoDB\BSON\Regex::getFlags (mongodb >=1.0.0) MongoDB\BSON\Regex::getFlags — Returns the Regex's flags 説明 final public function MongoDB\BSON\Regex::getFlags (): string パラメータ この関数にはパラメータはありません。 戻り値 Returns the Regex ... gs. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\BSON\Regex::getFlags() example <?php $regex = new MongoDB\BSON\Regex ( 'regex' , 'i' ); var_dump ( $regex -> getFlags ()); ?> 上の例の ... のようになります。 string(1) "i" 参考 » BSON Types » Supported regular expression flags 他のマニュアルの関連ページ Linux JM regex(3) Linux JM regex(7) Django validators Django 2.0.7 ...
https://man.mtool.work/php/8.3/mongodb-bson-regex.getflags.html
Yaf_Route_Regex::__construct — Yaf_Route_Regex のコンストラクタ | PHP 8.3 9790
Yaf_Route_Regex::__construct (Yaf >=1.0.0) Yaf_Route_Regex::__construct — Yaf_Route_Regex のコンストラクタ 説明 public function Yaf_Route_Regex::__construct ( string $match , array $route , array $map = ? , array $verify = ? , string $rever ... se = ? ) パラメータ match 正規表現のパターン。リクエストの URI とマッチさせます。 もしマッチしなければ Yaf_Route_Regex は false を返します。 route リクエスト URI がパターンにマッチしたときに、 Yaf_Route_Regex はこれを使ってルーティング先を判 ... ルト設定を利用します。 map マッチした結果に代入する名前の配列。 verify reverse URL を組み立てるときに使う文字列。 Yaf_Route_Regex::assemble() を参照ください。 注意 : このパラメータは 2.3.0 で導入されました。 戻り値 例 例1 Yaf_Route_Regex の例 <?php /** ... * Add a regex route to Yaf_Router route stack */ Yaf_Dispatcher :: getInstance ()-> getRouter ()-> addRoute ( "name" , new Yaf_Route_Reg ...
https://man.mtool.work/php/8.3/yaf-route-regex.construct.html
MongoDB\BSON\Regex::__construct — Construct a new Regex | PHP 8.3 9689
MongoDB\BSON\Regex::__construct (mongodb >=1.0.0) MongoDB\BSON\Regex::__construct — Construct a new Regex 説明 final public function MongoDB\BSON\Regex::__construct ( string $pattern , string $flags = "" ) パラメータ pattern ( string ) The ... rgument is optional and defaults to an empty string. Characters in the flags argument will be sorted alphabetically when a Regex is constructed. Previously, the characters were stored in the order provided. MongoDB\Driver\Exception\InvalidArgumentExce ... if pattern or flags contain null bytes. Previously, values would be truncated at the first null byte. 例 例1 MongoDB\BSON\Regex::__construct() example <?php $regex = new MongoDB\BSON\Regex ( '^foo' , 'i' ); var_dump ( $regex ); ?> 上の例の出力は以下と ... なります。 object(MongoDB\BSON\Regex)#1 (2) { ["pattern"]=> string(4) "^foo" ["flags"]=> string(1) "i" } 参考 » BSON Types » Supported regular expression flags ...
https://man.mtool.work/php/8.3/mongodb-bson-regex.construct.html
Yaf_Route_Regex::assemble — URL を組み立てる | PHP 8.3 8909
Yaf_Route_Regex::assemble (Yaf >=2.3.0) Yaf_Route_Regex::assemble — URL を組み立てる 説明 public function Yaf_Route_Regex::assemble ( array $info , array $query = ? ): ? string URL を組み立てます。 パラメータ info query 戻り値 成功時に文字列 ... を返します。 失敗時に null を返します。 例 例1 Yaf_Route_Regex::assemble() の例 <?php $router = new Yaf_Router (); $route = new Yaf_Route_Regex ( "#^/product/([^/]+)/([^/])+#" , array( ... 'controller' => "product" , //route to product controller, ), array(), array(), '/:m/:c/:a' ); $router -> addRoute ( "regex" , $route ); var_dump ( $router -> getRoute ( 'regex' )-> assemble ( array( ':m' => 'module' , ':c' => 'controller' , ':a' ... ば以下のようになります。 string(49) "/module/controller/action?tkey1=tval1&tkey2=tval2" 他のマニュアルの関連ページ Linux JM regex(3) Linux JM route(8) Linux JM regex(7) FastAPI Custom Request and APIRoute class ...
https://man.mtool.work/php/8.3/yaf-route-regex.assemble.html
Yaf_Route_Regex クラス | PHP 8.3 8871
Yaf_Route_Regex クラス (Yaf >=1.0.0) はじめに Yaf_Route_Regex は、 Yaf の組み込みのルートのなかでも一番柔軟性の高いものです。 クラス概要 class Yaf_Route_Regex extends Yaf_Route_Interface implements Yaf_Route_Interface { /* プロパティ */ pro ... f_Route_Interface::route ( Yaf_Request_Abstract $request ): bool } プロパティ _route _default _maps _verify 目次 Yaf_Route_Regex::assemble — URL を組み立てる Yaf_Route_Regex::__construct — Yaf_Route_Regex のコンストラクタ Yaf_Route_Regex::route — The ... route purpose 他のマニュアルの関連ページ Linux JM route(8) Linux JM regex(3) Linux JM regex(7) FastAPI Custom Request and APIRoute class Django urls ...
https://man.mtool.work/php/8.3/class.yaf-route-regex.html
mb_regex_set_options — マルチバイト正規表現関数のデフォルトオプションを取得また... 8456
mb_regex_set_options (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) mb_regex_set_options — マルチバイト正規表現関数のデフォルトオプションを取得または設定する 説明 function mb_regex_set_options ( ? string $options = null ): string options で表されるオ ... する際には、モード文字は最後に指定しなければなりません。 オプションは複数指定できますが、モードはひとつしか指定できません。 Regex のオプション オプション 意味 変更履歴 i 曖昧なマッチをオンにする x 拡張パターン形式を有効にする m '.' が改行にマッチする s ... を探す n 空のマッチを無視する e 結果のコードを eval() する PHP 7.1.0 で非推奨になり、PHP 8.0.0 で削除されました。 注意 : mb_regex_set_options() に "e" オプションを設定しても、何も起きません。 mb_ereg_replace() や mb_eregi_replace() で指定するようにして ... ください。 Regex 構文モード(ひとつだけ設定可能です) モード 意味 j Java (Sun java.util.regex) u GNU regex g grep c Emacs r Ruby z Perl b POS ...
https://man.mtool.work/php/8.3/function.mb-regex-set-options.html
Parle\Lexer::insertMacro — Insert regex macro | PHP 8.3 8418
Parle\Lexer::insertMacro (PECL parle >= 0.5.1) Parle\Lexer::insertMacro — Insert regex macro 説明 public function Parle\Lexer::insertMacro ( string $name , string $regex ): void Insert a regex macro, that can be later used as a shortcut and ... included in other regular expressions. パラメータ name Name of the macros. regex Regular expression. 戻り値 値を返しません。 他のマニュアルの関連ページ Linux JM regex(3) Linux JM regex(7) DuckDB Lambda F ...
https://man.mtool.work/php/8.3/parle-lexer.insertmacro.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT