2628
C
174: D
HAPTER
IAL
Related command:
Example
dot-match
Syntax
View
Parameter
Description
P
C
C
LAN
ONFIGURATION
OMMANDS
number-substitute.
# Display the configuration information of all number substitution rule lists.
<Sysname> display voice number-substitute
Current configuration of number-substitute
#
************ NUMBER-SUBSTITUTE ************
List-tag
First-rule : INDEX_INVALID
Dot-match
rule 1
Input-format
Output-format
#
End
dot-match { end-only | left-right | right-left }
undo dot-match
Voice number-substitute view
end-only: Reserves the digits which all ending dots (.) in the number input format
correspond to.
left-right: Reserves from left to right the digits which the dots in the number
input format corresponds to.
right-left: Reserves from right to left the digits which the dots correspond to in a
number.
Use the
dot-match
substitution rule list.
Use the
undo dot-match
This command only applies to the rules of the number substitution rule list in
current view.
By default, the dot match rule is end-only.
The dots here are virtual match digits. Virtual match digits refer to those matching
the variable part such as ., +, %, !, and [] in a regular expression. For example,
when 1255 is matched with the regular expression 1[234]55, the virtual match
digit is 2, when matched with the regular expression 125+, the virtual match digit
is 5, and matched with the regular expression 1..5, the virtual match digits are 25.
n
For details about the dot match rule of the number substitution rule list, refer to
"rule" on page 2634.
: 4
: left-right
: ^011408
: 1408
command to configure the dot match rule of the number
command to restore the dot match rule to the default.