"Markup extensions are used to extend the capabilities of XAML, by providing declarativeoperations that need more than just setting some properties. These can be used to do prettymuch anything, so caution is advised – these extensions must preserve t…
1. (?:...) 不想保存括号里匹配项时使用 The (?:...) notation should be fairly popular; with it, you can groupparts of a regex, but it does not save them for future retrieval or use. >>> re.findall(r'http://(?:\w+\.)*(\w+\.com)', 'http://google.com http://www.go…