Dialogic 4000 Series SU4.1 Manuel d'utilisateur Page 103

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 226
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 102
How Call Addresses Are Processed
95
Diva SIPcontrol uses the style of regular expressions used by Perl. Most tutorials and how-
to's covering Perl regular expressions can apply to Diva SIPcontrol.
Common Expressions:
Character
Meaning
.
Matches any character
^
Matches the beginning of an address
$
Matches the end of an address
\+
Matches the plus sign ("+")
*
Matches any number of occurrences of the previous character
{n}
Matches the previous character exactly n times
{n,m}
Matches the previous character between n and m times, both
inclusive
( )
Marks a sub-condition to be referenced in result string and also
groups sets of characters
|
Alternate operator, matches either the left or right sub-condition
[ ]
Matches any character given within the square brackets, i.e [123]
matches either 1, 2, or 3, but not 4, 5, or 123.
(?i)
Considers case for everything after the tag.
For example "username@(?i) hosthame.tld" matches
"username$HOSTNAME.TLD" and "username@hostname.TLD", but
not "USERNAME@hostname.tld".
Common Results
Character
Meaning
0-9,+
Inserts the respective character into the output
(?n(digits))
Inserts the digits given only if the n
th
sub-condition of the condition
matched
$&
Outputs what matched the whole condition
Vue de la page 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 225 226

Commentaires sur ces manuels

Pas de commentaire