Skip to content

Commit

Permalink
Address #174
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Feb 1, 2024
1 parent 5d483c5 commit c911688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/miga/taxonomy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def initialize_by_str(str)
when Array, Hash
self << str
else
"#{str} ".scan(/([A-Za-z]+):([^:]*)( )/) { |r, n, _| self << { r => n } }
" #{str} ".scan(/(?<= )([A-Za-z]+):([^:]*) /) { |r, n| self << { r => n } }
end
end

Expand Down

0 comments on commit c911688

Please sign in to comment.