Captureとは? わかりやすく解説

capture

別表記:キャプチャ

「capture」の意味

「capture」は、主に物や人を捕らえる、捕獲するという意味である。また、コンピュータ画面画像として保存することや、情報データ取得することも指す。さらに、心を捉える魅了するといった意味も含まれる

「capture」の発音・読み方

「capture」の発音は、/ˈkæptʃər/であり、IPAカタカナ読みでは「カプチャー」となる。日本人発音するカタカナ英語では「キャプチャ」と読むことが一般的である。

「capture」の語源

「capture」の語源は、ラテン語の「captura」であり、捕らえる、捕獲するという意味を持つ。また、それが古フランス語の「capture」を経て、英語に取り入れられた。

「capture」の類語

「capture」の類語には、seize押収する)、apprehend逮捕する)、arrest逮捕する)、snatch(奪う)、grab(つかむ)などがある。これらの類語は、捕らえる、捕獲するという意味において似たニュアンスを持つが、使用される文脈強さ異なる。

「capture」に関連する用語・表現

「capture」に関連する用語表現には、screen captureスクリーンキャプチャ)、data capture(データキャプチャ)、motion captureモーションキャプチャ)、carbon capture(二酸化炭素捕獲)などがある。これらは、それぞれ異な分野で「capture」の概念適用されている例である。

「capture」の例文

1. The police captured the suspect after a long chase.(警察長い追跡の末に容疑者捕まえた。)
2. The photographer captured the beautiful sunset.(写真家美し夕日捉えた。)
3. The software allows you to capture your computer screen.(そのソフトウェアを使うと、コンピュータ画面キャプチャできる。)
4. The scientist captured the data from the experiment.(科学者実験からデータ取得した。)
5. The movie captured the hearts of the audience.(その映画観客心を捉えた。)
6. The army captured the enemy's base.(軍隊は敵の基地占領した。)
7. The researchers are working on carbon capture technology.(研究者たち二酸化炭素捕獲技術取り組んでいる。)
8. The motion capture system records the actor's movements.(モーションキャプチャシステムは俳優動き記録する。)
9. The birdwatcher captured a rare bird on camera.(ウォッチャーは珍しいカメラ収めた。)
10. The spy captured important information from the enemy.(スパイは敵から重要な情報入手した。)

Capture クラス

単一部分キャプチャ結果表しますCapture は、正常終了した単一キャプチャ取得され1 つ部分文字列表します

名前空間: System.Text.RegularExpressions
アセンブリ: System (system.dll 内)
構文構文

<SerializableAttribute> _
Public Class Capture
[SerializableAttribute] 
public class Capture
[SerializableAttribute] 
public ref class Capture
/** @attribute SerializableAttribute() */ 
public class Capture
SerializableAttribute 
public class Capture
解説解説
使用例使用例
Dim text As String = "One
 fish two fish red fish blue fish"
Dim pat As String = "(?<1>\w+)\s+(?<2>fish)\s*"
' Compile the regular expression.
Dim r As New Regex(pat,
 RegexOptions.IgnoreCase)
' Match the regular expression pattern against a text string.
Dim m As Match = r.Match(text)        
While m.Success
   ' Display the first match and its capture set.
   System.Console.WriteLine("Match=[" + m.ToString()
 + "]")
   Dim cc As CaptureCollection = m.Captures
   Dim c As Capture
   For Each c In  cc
      System.Console.WriteLine("Capture=[" + c.ToString()
 + "]")
   Next c
   ' Display Group1 and its capture set.
   Dim g1 As Group = m.Groups(1)
   System.Console.WriteLine("Group1=[" + g1.ToString()
 + "]")
   Dim c1 As Capture
   For Each c1 In  g1.Captures
      System.Console.WriteLine("Capture1=[" + c1.ToString()
 + "]")
   Next c1
   ' Display Group2 and its capture set.
   Dim g2 As Group = m.Groups(2)
   System.Console.WriteLine("Group2=[" + g2.ToString()
 + "]")
   Dim c2 As Capture
   For Each c2 In  g2.Captures
      System.Console.WriteLine("Capture2=[" + c2.ToString()
 + "]")
   Next c2
   ' Advance to the next match.
   m = m.NextMatch()
End While
string text = "One car red car blue car";
string pat = @"(?<1>\w+)\s+(?<2>car)\s*";
// Compile the regular expression.
Regex r = new Regex(pat, RegexOptions.IgnoreCase);
// Match the regular expression pattern against a text string.
Match m = r.Match(text);
while (m.Success) 
{
   // Display the first match and its capture set.
   System.Console.WriteLine("Match=[" + m + "]");
   CaptureCollection cc = m.Captures;
   foreach (Capture c in cc) 
   {
      System.Console.WriteLine("Capture=[" + c + "]");
   }
   // Display Group1 and its capture set.
   Group g1 = m.Groups[1];
   System.Console.WriteLine("Group1=[" + g1 + "]");
   foreach (Capture c1 in g1.Captures) 
   {
      System.Console.WriteLine("Capture1=[" + c1 + "]");
   }
   // Display Group2 and its capture set.
   Group g2 = m.Groups[2];
   System.Console.WriteLine("Group2=["+ g2 + "]");
   foreach (Capture c2 in g2.Captures) 
   {
      System.Console.WriteLine("Capture2=[" + c2 + "]");
   }
   // Advance to the next match.
   m = m.NextMatch();
}
String^ text = "One car red car blue car";
String^ pat = "(?<1>\\w+)\\s+(?<2>car)\\s*";

// compile the regular expression.
Regex^ r = gcnew Regex( pat,RegexOptions::IgnoreCase );

// match the regular expression pattern against a text String.
Match^ m = r->Match(text);
while ( m->Success )
{
   // Display the first match and its capture set.
   Console::WriteLine( "Match=[{0}]", m );
   CaptureCollection^ cc = m->Captures;
   for each (Capture^ c in cc) 
   {
      System::Console::WriteLine("Capture=[" + c + "]");
   }
   // Display Group1 and its capture set.
   Group^ g1 = m->Groups[ 1 ];
   Console::WriteLine( "Group1=[{0}]", g1 );
   for each (Capture^ c1 in g1->Captures)
 
   {
      System::Console::WriteLine("Capture1=[" + c1 + "]");
   }
   // Display Group2 and its capture set.
   Group^ g2 = m->Groups[ 2 ];
   Console::WriteLine( "Group2=[{0}]", g2 );
   for each (Capture^ c2 in g2->Captures)
 
   {
      System::Console::WriteLine("Capture2=[" + c2 + "]");
   }
   // Advance to the next match.
   m = m->NextMatch();
}
String text = "One car red car blue car";
String pat = "(?<1>\\w+)\\s+(?<2>car)\\s*";

// Compile the regular expression.
Regex r = new Regex(pat, RegexOptions.IgnoreCase);
// Match the regular expression pattern against a text string.
Match m = r.Match(text);

while (m.get_Success()) {
    // Display the first match and its capture set.
    System.Console.WriteLine("Match=[" + m + "]");
    CaptureCollection cc = m.get_Captures();
    for (int iCtr = 0; iCtr < cc.get_Count();
 iCtr++) {
        Capture c = (Capture)cc.get_Item(iCtr);
        System.Console.WriteLine("Capture=[" + c + "]");
    }

    // Display Group1 and its capture set.
    Group g1 = m.get_Groups().get_Item(1);
    System.Console.WriteLine("Group1=[" + g1 + "]");
    for (int iCtr = 0; iCtr < g1.get_Captures().get_Count();
 iCtr++) {
        Capture c1 = (Capture)g1.get_Captures().get_Item(iCtr);
        System.Console.WriteLine("Capture1=[" + c1 + "]");
    }

    // Display Group2 and its capture set.
    Group g2 = m.get_Groups().get_Item(2);
    System.Console.WriteLine("Group2=[" + g2 + "]");
    for (int iCtr = 0; iCtr < g2.get_Captures().get_Count();
 iCtr++) {
        Capture c2 = (Capture)g2.get_Captures().get_Item(iCtr);
        System.Console.WriteLine("Capture2=[" + c2 + "]");
    }

    // Advance to the next match.
    m = m.NextMatch();
}
var text : String = "One car red car blue car";
var pat : String = "(?<1>\\w+)\\s+(?<2>fish)\\s*";
// Compile the regular expression.
var r : Regex = new Regex(pat, RegexOptions.IgnoreCase);
// match the regex pattern against a text string
var m : Match = r.Match(text);
while (m.Success) {
    // Display the first match and its capture set.
    System.Console.WriteLine("Match=[" + m + "]");
    var cc : CaptureCollection = m.Captures;
    for (var c : Capture in cc) {
        System.Console.WriteLine("Capture=[" + c + "]");
    }
    // display Group1 and its capture set.
    var g1 : Group = m.Groups[1];
    System.Console.WriteLine("Group1=[" + g1 + "]");
    for (var c1 : Capture in g1.Captures) {
        System.Console.WriteLine("Capture1=[" + c1 + "]");
    }
    // display Group2 and its capture set.
    var g2 : Group = m.Groups[2];
    System.Console.WriteLine("Group2=["+ g2 + "]");
    for (var c2 : Capture in g2.Captures) {
        System.Console.WriteLine("Capture2=[" + c2 + "]");
    }
    // advance to the next match.
    m = m.NextMatch();
}
継承階層継承階層
System.Object
  System.Text.RegularExpressions.Capture
     System.Text.RegularExpressions.Group
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Capture メンバ
System.Text.RegularExpressions 名前空間

Capture プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

Capture クラス
System.Text.RegularExpressions 名前空間

Capture メソッド


Capture メンバ

単一部分キャプチャ結果表しますCapture は、正常終了した単一キャプチャ取得され1 つ部分文字列表します

Capture データ型公開されるメンバを以下の表に示します


パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Capture クラス
System.Text.RegularExpressions 名前空間

ビフェントリン

分子式C23H22ClF3O2
その他の名称Bifenthrin、ビフェントリン、キャプチャー殺虫剤】、Capture、Biphenthrin、Capture【pesticide】、タルスター、FMC-54800、Talster、テルスターTelstar、ビフェネート、Biphenate
体系名: rac-3α*-[(Z)-2-クロロ-3,3,3-トリフルオロ-1-プロペニル]-2,2-ジメチルシクロプロパン-1α*-カルボン酸(2-メチルビフェニル-3-イル)メチル



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「Capture」の関連用語

Captureのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Captureのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
実用日本語表現辞典実用日本語表現辞典
Copyright © 2024実用日本語表現辞典 All Rights Reserved.
デジタル大辞泉デジタル大辞泉
(C)Shogakukan Inc.
株式会社 小学館
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.
独立行政法人科学技術振興機構独立行政法人科学技術振興機構
All Rights Reserved, Copyright © Japan Science and Technology Agency

©2024 GRAS Group, Inc.RSS