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.
我用 Visual Studio 2012 和 .Net Framework 4.5 编写了一个程序。现在我想将 .Net Framework 更改为 .Net Framework 4。我该如何更改它?
右键单击项目,选择属性。
在“应用程序”下,您有一个名为 TargetFramework 的下拉菜单。将其更改为 4.0
鼠标右键单击解决方案资源管理器中的项目。应用程序选项卡上有TargetFramework下拉菜单。
尝试使用 PHP 正则表达式来匹配可能是函数的单词,而不是双引号。同时忽略可能是函数的双引号中的任何内容。下面已经匹配“你好(世界)”。并将 'hello(world)' 放在一个数组中,然后将 'hello' 放在另一个数组中。但是,我想要一个不添加它的条件,如上所述。
preg_match_all('#(\w*)\s*\(.*?\)