Skip to content

Commit

Permalink
Update guid regex. Use {n} without +
Browse files Browse the repository at this point in the history
  • Loading branch information
jheth committed Mar 2, 2017
1 parent f5d18ac commit da2fb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dynamics_crm/xml/attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_type(key, value)
end
end

if type == 'string' && value =~ /\A\{?\w+{8}-\w+{4}-\w+{4}-\w+{4}-\w+{12}\}?\z/
if type == 'string' && value =~ /\A\{?\w{8}-\w{4}-\w{4}-\w{4}-\w{12}\}?\z/
type = 'guid'
end

Expand Down

0 comments on commit da2fb2d

Please sign in to comment.