Browse Source

Update regex.rst

FusionPBX 7 years ago
parent
commit
6b4157f4bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/additional_information/regex.rst

+ 1 - 1
source/additional_information/regex.rst

@@ -10,7 +10,7 @@ Regular Expressions
 * ^\\+?1?(\\d{10})$   10 to 11 digits and e164 format sets $1 to 10 digits
 * ^\\+?1?(\\d{10})$   10 to 11 digits and e164 format sets $1 to 10 digits
 * [0-9]   Any number between 0 to 9
 * [0-9]   Any number between 0 to 9
 * [2-9]   Any number between 2 to 9
 * [2-9]   Any number between 2 to 9
-* ^101$|^102$ matches 101 or 102
+* \| The pipe works like an OR. Example ^101$|^102$ matches 101 or 102
 * ^9(\\d{10})$ This strips off the 9 and the $1 value is the remaining 10 digits
 * ^9(\\d{10})$ This strips off the 9 and the $1 value is the remaining 10 digits
 
 
 **Dialplan Expression**
 **Dialplan Expression**