PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

Grouping | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

Grouping

Grouping
SequenceDescription
(...)Group a regular expression to override default operator precedence.
(?r-s:pattern) Apply option r and omit option s while interpreting pattern. Options may be zero or more of the characters i, s, or x.
Options
OptionDescription
iCase insensitive.
-iCase sensitive.
sAlters the meaning of '.' to match any character whatsoever.
-s"lters the meaning of '.' to match any character except '\n'.
xIgnores comments and whitespace in patterns. Whitespace is ignored unless it is backslash-escaped, contained within ""s, or appears inside a character range.
These options can be applied globally at the rules level by passing a combination of the bit flags to the lexer.
(?# comment )Omit everything within (). The first ) character encountered ends the pattern. It is not possible for the comment to contain a ) character. The comment may span lines.


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「Grouping」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | Grouping」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: