2011-07-12 22 views

回答

2

如何以正確的順序得到的參數?

Regex.Match("abZ", "ab(?i:z)").Success 
3

signature for Regex.Match

public static Match Match(
    string input, 
    string pattern 
) 

所以,Regex.Match("abZ", "ab(?i:z)")會做你想要什麼。

相關問題