lib/phonelib/data_importer_helper.rb
# xml comments attributes names that should not be parsed
xml comments attributes names that should not be parsed
xml comments attributes names that should not be parsed
def possible_length_regex(attributes)
      return '' unless attributes[:national]
      attributes[:national].split(',').map do |m|
        if m.include? '-'
          "\\d{#{m.gsub(/[\[\]]/, '').gsub('-', ',')}}"
        else
          "\\d{#{m}}"
        end
      end.join('|')
    end
def possible_length_regex ( attributes ) return '' unless attributes [ :national ] attributes [ :national ] . split ( ',' ) . map do | m | if m . include? '-' "\\d{#{m.gsub(/[\[\]]/, '').gsub('-', ',')}}" else "\\d{#{m}}" end end . join ( '|' ) end
xml comments attributes names that should not be parsed
xml comments attributes names that should not be parsed
attributes
<not_specific>