Sha256: 9051cffdca14209cbeaaaf7d380f9de5f502bf5e4c195bc5b4df280b3574ba1b

Contents?: true

Size: 138 Bytes

Versions: 6

Compression:

Stored size: 138 Bytes

Contents

def find_num(config,data)
  retval = []
  data.each do |text|
    text.gsub(/\d(\d|,)+/) {|i| retval.push(i) }
  end
  return retval
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yapra-0.2.2 legacy_plugins/Filter/find_num.rb
yapra-0.2.0 legacy_plugins/Filter/find_num.rb
yapra-0.1.3 legacy_plugins/Filter/find_num.rb
yapra-0.1.1 legacy_plugins/Filter/find_num.rb
yapra-0.1.0 legacy_plugins/Filter/find_num.rb
yapra-0.1.2 legacy_plugins/Filter/find_num.rb