Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは私が検索したいものです:
[assembly: AssemblyFileVersion("4.0.10.121017")]
数字はできるはずです
私はこれを書いたが、それは機能していない
@"\[assembly: AssemblyFileVersion\(\""(\d{1}).(\d{1}).(\d{2}).(\d{6})""\)\]"
[1-9]\d{0,2}\.(?:[1-9]|10)\.[1-9]\d{0,3}\.\d{6}
編集(質問の更新に基づく):
[1-9]\d{0,2}\.(?:\d|10)\.[1-9]\d{0,3}\.\d{6}
ニーズを正規表現に変換するだけです:
\[assembly: AssemblyFileVersion\(\"\d{1,3}\.\d{1,2}\.\d{1,4}\.\d{6}\"\)\]