svn changeset:6290/svn branch:trunk
\r
/**\r
* @param args\r
- * <path to directory with web.xml> [widgetset to use]\r
+ * <path to directory with web.xml> [widgetset to use]\r
*/\r
public static void main(String[] args) {\r
if (args.length < 1 || !new File(args[0]).isDirectory()) {\r
Pattern p1 = Pattern\r
.compile("<servlet-mapping>.*?<servlet-name>(.*?)<\\/servlet-name>.*?<url-pattern>(.*?)<\\/url-pattern>(.*?)<\\/servlet-mapping>");\r
Pattern p2 = Pattern\r
- .compile(".*?<!--\\s+portlet\\s?(style=\\S+)?\\s+-->.*?");\r
+ .compile(".*?<!--\\s+portlet\\s?style=(\\S+)?\\s+-->.*?");\r
Matcher m = p1.matcher(webXml);\r
while (m.find()) {\r
if (m.groupCount() < 3) {\r