Skip to content

Commit

Permalink
Keep brackets on array assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
zamith committed Oct 27, 2014
1 parent a1f2ec7 commit 447f5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tomlex/line.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Tomlex.Line do
@float_regex ~r/^([^=]*)=\s*(-?\d+\.\d+)\s*/
@integer_regex ~r/^([^=]*)=\s*(-?\d+)\s*/
@boolean_regex ~r/^([^=]*)=\s*(true|false)\s*/
@array_regex ~r/^([^=]*)=\s*\[(.*)\]\s*$/
@array_regex ~r/^([^=]*)=\s*(\[.*\])\s*$/
@assignment_regex ~r/^([^=]*)=(.*)$/
@comment_regex ~r/^(.*)#.*$/

Expand Down

0 comments on commit 447f5d5

Please sign in to comment.