lib/soap/baseData.rb in rubyjedi-soap4r-1.5.8.01 vs lib/soap/baseData.rb in rubyjedi-soap4r-1.5.8.20100616125722
- old
+ new
@@ -1077,10 +1077,10 @@
def self.create_arytype(typename, rank)
"#{typename}[" << ',' * (rank - 1) << ']'
end
- TypeParseRegexp = Regexp.new('^(.+)\[([\d,]*)\]$')
+ TypeParseRegexp = Regexp.new('^(.+)\[([\d,]*)\]$', nil, 'n')
def self.parse_type(string)
TypeParseRegexp =~ string
return $1, $2
end