lib/paperclip/geometry_parser_factory.rb in paperclip-4.3.0 vs lib/paperclip/geometry_parser_factory.rb in paperclip-4.3.1
- old
+ new
@@ -1,7 +1,7 @@
module Paperclip
class GeometryParser
- FORMAT = /\b(\d*)x?(\d*)\b(?:,(\d?))?([\>\<\#\@\%^!])?/i
+ FORMAT = /\b(\d*)x?(\d*)\b(?:,(\d?))?(\@\>|\>\@|[\>\<\#\@\%^!])?/i
def initialize(string)
@string = string
end
def make