Skip to content

Commit 0716903

Browse files
fix regex syntax
1 parent 207d483 commit 0716903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/concepts/telephony/direct-routing-provisioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ If you created one voice route with a pattern `^\+1(425|206)(\d{7})$` and added
8484
Give your voice route a name, specify the number pattern using regular expressions, and select SBC for that pattern.
8585
Here are some examples of basic regular expressions:
8686
- `^\+\d+$` - matches a telephone number with one or more digits that start with a plus
87-
- `^+1(\d[10])$` - matches a telephone number with a ten digits after a `+1`
87+
- `^\+1(\d{10})$` - matches a telephone number with a ten digits after a `+1`
8888
- `^\+1(425|206)(\d{7})$` - matches a telephone number that starts with `+1425` or with `+1206` followed by seven digits
8989
- `^\+0?1234$` - matches both `+01234` and `+1234` telephone numbers.
9090

0 commit comments

Comments
 (0)