Matches not captured when using -SimpleMatch with Select-String
问题 I have been using regex to parse text within some XML nodes. However, when I use -SimpleMatch with Select-String , the MatchInfo object doesn't appear to contain any matches. I am unable to find anything online that indicates this behavior is normal. I am now wondering if it is my Powershell installation. (For reference: the computer I'm using has Powershell 3.0 installed.) Using a very simple example, we can return the expected MatchInfo Object when using the regex patterning: PS H:\> $c =