- When the filter is empty the rest of the fields are checked.
- When the filter is an invalid regular expression the "Open URL" rule is ignored and it's action is not executed.
- When the filter is a valid regular expression the phone number is tested against the expression.
- When the phone number does not match the expression the "Open URL" rule is ignored and it's action is not executed.
- When the phone number matches the expression the rest of the fields are also checked.
Examples:
An "Open URL" rule with empty filter will always execute the action.
An "Open URL" rule action will not be executed for a call with phone number * (an asterisk) with the following invalid regular expression as a filter:
* |
An "Open URL" rule action will be executed for a call with phone number * (an asterisk) with the following valid regular expression as a filter:
\* |
An "Open URL" rule action will be executed for calls with phone numbers +359899123123, +4588123123 with the following regular expression as a filter (starts with +359 or +45):
^\+(359|45) |
An "Open URL" rule action will not be executed for calls with phone numbers +21321891123, 0359899123123 with the following regular expression as a filter (starts with +359 or +45):
^\+(359|45) |
An "Open URL" rule action will be executed for calls with phone numbers +37167111234, +61298705551 with the following regular expression as a filter (contains 111 or 555):
111|555 |
An "Open URL" rule action will be executed for calls with phone numbers +96264123476, +33155224667 with the following regular expression as a filter (ends with 66, 67, 76 or 77):
[67]{2}$ |