constant PHONE_CH_REGEX in Phone 7
Same name and namespace in other branches
- 6 phone.ch.inc \PHONE_CH_REGEX
@file CCK Field for Switzerland phone numbers.
2 uses of PHONE_CH_REGEX
- format_ch_phone_number in include/
phone.ch.inc - Formatting for Switzerland Phone Numbers.
- valid_ch_phone_number in include/
phone.ch.inc - Verification for private/standr switzerland Phone Numbers (E.164/2002). According to http://en.wikipedia.org/wiki/Telephone_numbers_in_Switzerland#After_2002 (Released 2002)
File
- include/
phone.ch.inc, line 8 - CCK Field for Switzerland phone numbers.
Code
define('PHONE_CH_REGEX', "%(\\+41|0|0041)([2-9]\\d{8})\$%");