Tango.info az 09 name: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
(revert "non [_a-z]" -> special characters)
Line 5: Line 5:
* convert letters to lowercase
* convert letters to lowercase
* remove diacritics
* remove diacritics
* convert non [_a-z] character to _  
* convert special character to _  
* convert multiple _ to one _
* convert multiple _ to one _



Revision as of 2012-09-03T23:15:52

needs fix - 0-9 undefined

A tango.info a z name only includes letters a-z and underscores. regex: [_a-z]

To transform a string into a a_z_name the following conversion is applied

  • convert letters to lowercase
  • remove diacritics
  • convert special character to _
  • convert multiple _ to one _

Link

See also