[Spce-user] R: Info on syntax
Alessandro Bolletta
alessandro at mediaspot.net
Mon Apr 4 04:03:38 EDT 2016
Hi Jon,
sorry for my late answer. However, I can't change the format at this moment.
How could I catch 00 or + with a regexp?
Thanks in advance,
Alessandro
-----Messaggio originale-----
Da: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Per conto di Jon Bonilla (Manwe)
Inviato: giovedì 3 marzo 2016 11.50
A: spce-user at lists.sipwise.com
Oggetto: Re: [Spce-user] Info on syntax
El Thu, 3 Mar 2016 10:13:47 +0000
Alessandro Bolletta <alessandro at mediaspot.net> escribió:
> Hi,
> just a little doubt:
>
> If I want to rate numbers whose prefix is: 0049(2-9) For example:
> 004949438234 or 00499213494 should be included on the same rating fee.
> Is it correct this Destination Model?:
>
> ^0049([2-9][0-9]+)$
>
> I have the fear that it could be uncorrectly processed.
>
you SHOULD REALLY use E164 format.
That means 49... and not 0049...
Regarding the regexp, it seems correct, yes.
More information about the Spce-user
mailing list