From 187ee13d6f5627d0d1433b9d9611b8bbd2d81be9 Mon Sep 17 00:00:00 2001 From: Craig London Date: Tue, 14 Feb 2017 10:41:55 -0500 Subject: [PATCH 1/3] Improve detection of IBM Websphere --- src/apps.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 0a2c7d0d0..6c89a7593 100755 --- a/src/apps.json +++ b/src/apps.json @@ -3275,6 +3275,7 @@ 6 ], "icon": "IBM.svg", + "html": "href=\"(\/|.+)webapp\/wcs\/", "implies": "Java", "url": "/wcs/", "website": "ibm.com/software/genservers/commerceproductline" @@ -9601,4 +9602,4 @@ "51": "Landing Page Builders", "52": "Live Chat" } -} \ No newline at end of file +} From 5fac98cdf4895bf260a009bf10515d5413fc75f8 Mon Sep 17 00:00:00 2001 From: Craig London Date: Tue, 14 Feb 2017 10:51:53 -0500 Subject: [PATCH 2/3] Change capture group to non capture group --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 6c89a7593..6030c6def 100755 --- a/src/apps.json +++ b/src/apps.json @@ -3275,7 +3275,7 @@ 6 ], "icon": "IBM.svg", - "html": "href=\"(\/|.+)webapp\/wcs\/", + "html": "href=\"(?:\/|.+)webapp\/wcs\/", "implies": "Java", "url": "/wcs/", "website": "ibm.com/software/genservers/commerceproductline" From 3d2407fbaf42325fbf0bc246ca419a4d29c5b9d4 Mon Sep 17 00:00:00 2001 From: Craig London Date: Tue, 14 Feb 2017 10:57:53 -0500 Subject: [PATCH 3/3] Change regex from ".+" to "[^>]+" --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 6030c6def..44f29e0b3 100755 --- a/src/apps.json +++ b/src/apps.json @@ -3275,7 +3275,7 @@ 6 ], "icon": "IBM.svg", - "html": "href=\"(?:\/|.+)webapp\/wcs\/", + "html": "href=\"(?:\/|[^>]+)webapp\/wcs\/", "implies": "Java", "url": "/wcs/", "website": "ibm.com/software/genservers/commerceproductline"