プロの翻訳者、企業、ウェブページから自由に利用できる翻訳レポジトリまで。
if matches are found for parenthesized substrings of pattern and the function is called with the third argument regs, the matches will be stored in the elements of the array regs. $regs[1] will contain the substring which starts at the first left parenthesis; $regs[2] will contain the substring starting at the second, and so on. $regs[0] will contain a copy of the complete string matched.
pattern の括弧でくくられた部分文字列に マッチし、かつこの関数が3番目の引数 regs を指定 してコールされた場合、マッチした部分が配列 regs に格納されます。$regs[1]は最初の左括弧が始まる部分文字列を保持、 $regs[2]は二番目の左括弧が始まる部分文字列を保持、...、 といったようになっています。$regs[0]は string のコピーを保持しています。
最終更新: 2011-10-24
使用頻度: 1
品質: