Sha256: 29467198e8ac3ba2231a36a79d73381caa776ba586f5e9b881617a9eacca080b

Contents?: true

Size: 452 Bytes

Versions: 25

Compression:

Stored size: 452 Bytes

Contents

# In order to decode language_table.txt

reg_exps = [
  /(\w+)\s+-?((\w|\s|')+)?\s+(\w+)\s+((\w+|-)+)/,
  /(\w+)\s+((\w|\s|')+)\s+(\w+)/,
  /(\w+)\s+((\w|\s|')+)/
  /(\w+)/,

  /(\w+)\s+-?((\w|\s|')+)?\s+(\w+)\s+((\w+|-)+)\s+:?\s+((\w|\s|')+)/,
  /(\w+)\s+((\w|\s|')+)\s+(\w+)\s+:?\s+((\w|\s|')+)/,
  /(\w+)\s+((\w|\s|')+)\s+:?\s+((\w|\s|')+)/
  /(\w+)\s+:?\s+((\w|\s|')+)/
]

# Find regexp the best matches line. Discard any matching of a single char.

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
world-flags-0.6.6 sandbox/languages_country_extract.rb
world-flags-0.6.5 sandbox/languages_country_extract.rb
world-flags-0.6.4 sandbox/languages_country_extract.rb
world-flags-0.6.3.1 sandbox/languages_country_extract.rb
world-flags-0.6.3 sandbox/languages_country_extract.rb
world-flags-0.6.2.1 sandbox/languages_country_extract.rb
world-flags-0.6.2 sandbox/languages_country_extract.rb
world-flags-0.6.1.1 sandbox/languages_country_extract.rb
world-flags-0.6.1 sandbox/languages_country_extract.rb
world-flags-0.6.0 sandbox/languages_country_extract.rb
world-flags-0.5.1 sandbox/languages_country_extract.rb
world-flags-0.5.0 sandbox/languages_country_extract.rb
world-flags-0.4.9 sandbox/languages_country_extract.rb
world-flags-0.4.8.3 sandbox/languages_country_extract.rb
world-flags-0.4.8.2 sandbox/languages_country_extract.rb
world-flags-0.4.7 sandbox/languages_country_extract.rb
world-flags-0.4.5 sandbox/languages_country_extract.rb
world-flags-0.4.4 sandbox/languages_country_extract.rb
world-flags-0.4.3 sandbox/languages_country_extract.rb
world-flags-0.4.2 sandbox/languages_country_extract.rb