Skip to content

Commit

Permalink
simplify regex readability
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaiR committed Feb 6, 2019
1 parent 1cfbd4e commit ef4675d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ef4675d

Please sign in to comment.