Skip to content

Commit

Permalink
Refine regex in KcpCliPreference
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Aug 19, 2016
1 parent 25cfb16 commit 41417a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class KcpCliPreference(context: Context, attrs: AttributeSet) extends SummaryEdi
!line.startsWith(" --help,") &&
!line.startsWith(" --version,"))
.mkString("\n")
.replaceAll("[ ]{2,}", "\n")
.replaceAll(" {2,}", "\n")
.substring(1)) // remove 1st \n
.show()): DialogInterface.OnClickListener)
}
Expand Down

0 comments on commit 41417a7

Please sign in to comment.