Tango.info az 09 name: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
m (Tobiasco moved page Tango.info a z name to Tango.info az 09 name)
No edit summary
Line 1: Line 1:
:needs fix - 0-9 undefined
==Overview==
A '''tango.info a z name''' only includes letters a-z and underscores. regex: [_a-z]
A '''tango.info az 09 name''' only includes letters a-z, numbers 0-9 and underscores. regex: [_a-z0-9]


To transform a string into a '''a_z_name''' the following conversion is applied
To transform a string into a '''az_09_name''' the following conversion is applied
* convert each uppercase letter to lowercase
* convert each uppercase letter to lowercase
* remove each diacritic
* remove each diacritic
* convert each special character to _  
* convert each non "a-z0-9" character to _  
* convert the sequence "__" to "_" until there is no more sequence "__"  
* convert the sequence "__" to "_" until there is no more sequence "__"  


== Link ==
== Link ==
* https://tango.info/tools/string_conversion.php
* https://tango.info/x/php/tools/string_conversion.php


==See also==
==See also==
* [[tango.info azname]]
* [[tango.info azname]]

Revision as of 2013-12-07T21:22:46

Overview

A tango.info az 09 name only includes letters a-z, numbers 0-9 and underscores. regex: [_a-z0-9]

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

  • convert each uppercase letter to lowercase
  • remove each diacritic
  • convert each non "a-z0-9" character to _
  • convert the sequence "__" to "_" until there is no more sequence "__"

Link

See also