From ef4675d4d81488eff17db7512a09ba6ef5ba3197 Mon Sep 17 00:00:00 2001 From: SpaiR Date: Wed, 6 Feb 2019 21:42:57 +0300 Subject: [PATCH] simplify regex readability --- ui/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/build.gradle b/ui/build.gradle index 70f29e8..505b7d6 100644 --- a/ui/build.gradle +++ b/ui/build.gradle @@ -40,7 +40,7 @@ task copyIndex(type: Copy) { it.replace('@{version}', "${rootProject.version}-build:$currentTimeStamp") } filter { - it.replace('@{revisions}', file("../.revisions").text.trim().replaceAll('\\r\\n|\\r|\\n', ',')) + it.replace('@{revisions}', file("../.revisions").text.trim().replaceAll(/\r\n|\r|\n/, ',')) } filter { it.replace('@{style}', file('src/main/dist/style.min.css').text)