Skip to content

Commit

Permalink
Match arbitrary whitespace before/after comma
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartnelson3 authored and Andrey Kuzmin committed Apr 7, 2017
1 parent 6891871 commit 08371cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/src/Updates.elm
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ update msg model =
if String.isEmpty cleaned then
[]
else
String.split ", " cleaned
Regex.split Regex.All (Regex.regex "\\s*,\\s*") cleaned
)
|> (\labels ->
if List.member label labels then
Expand Down

0 comments on commit 08371cc

Please sign in to comment.