にPythonの正規表現を変換します。この文字列は、C#で解析エラーが発生します。前もって感謝します。は、私はPythonで、この正規表現を持つC#
私はこれを試してみた:
Regex rc = new Regex("<input type=\"hidden\" name=\"GALX\" value=\"(?P<galx>[a-zA-Z0-9_]+)\">");
それは私にこのエラーを与える: "?"
parsing \"<input type=\"hidden\" name=\"GALX\" value=\"(?P<galx>[a-zA-Z0-9_]+)\">\" - Unrecognized grouping construct.
必須:http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags – Thanatos