[Spce-user] NCOS Level regex

Javier Valencia jv at voiper.es
Thu Dec 20 11:07:47 EST 2018


Hi Daniel.

My regex (without double quotes) is: "^3490[012]*[0-9]*{6}" and do match.

But I try with "^3490[012]*\d*{6}", it's persisted on database thru web 
UI, and don't match.

In Peering rules, I can use '[0-9]' and '\d' as equivalent.

What's the difference if it's a regex implemented by the same library?

I hope I explained better than previous messages on this thread.

Cheers.



Logo <http://www.voiper.es/>

	
Javier Valencia | CTO
Centro de Negocios Martín Buendía
Camino de las Cañadas, nº 1C, Portal 1, 2ºG
29649 Mijas (Málaga)

# 	951562080 (T) <tel:951562080> | 687486759 (M) <tel:687486759>
# 	www.voiper.es <http://www.voiper.es/>

------------------------------------------------------------------------

AVISO LEGAL
-----------

Este mensaje contiene información confidencial destinada para ser leída
exclusivamente por el destinatario. Queda prohibida la reproducción,
publicación, divulgación, total o parcial del mensaje así como el uso no
autorizados por el emisor. En caso de recibir el mensaje por error, se ruega
su comunicación al remitente lo antes posible. Por favor, indique
inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo
por Internet.

Las opiniones, conclusiones y demás información incluida en este mensaje que
no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se
entenderá que nunca se ha dado, ni está respaldado por el mismo.

Responsable del Tratamiento de Datos
------------------------------------
SMART RECARGAS , SL
Camino de las Cañadas, 1C PORTAL 1 2º G
29651 MIJAS COSTA (MALAGA)

El 20/12/18 a las 16:56, Daniel Grotti escribió:
> Hi,
> please keep list in CC.
>
> Is "\d" not allowed by the web interface? (When you try to add, web 
> gui fails to save the regexp)
> Or it just don't match if you use a regexp with \d instead of [0-9] ?
>
> Can you try to share the regexp you are trying to add?
>
>
>
> Cheers,
>
>
> -- 
> Head of Customer Support                               Sipwise GmbH
> e:dgrotti at sipwise.com                                Europaring F15
> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
> w:www.sipwise.com           FN: 305595f      FG: LG Wiener Neustadt
> On 12/20/18 4:48 PM, Javier Valencia wrote:
>>
>> Hi Daniel.
>>
>> My apologies, my english book was stolen on elementary school. ;)
>>
>> Why don't work a NCOS Level regex with '\d' and it's working with 
>> equivalent '[0-9]'?
>>
>> P.S: '\d' it's working properly on Peering rules.
>>
>>
>>
>> Logo <http://www.voiper.es/>
>>
>> 	
>> Javier Valencia | CTO
>> Centro de Negocios Martín Buendía
>> Camino de las Cañadas, nº 1C, Portal 1, 2ºG
>> 29649 Mijas (Málaga)
>>
>> # 	951562080 (T) <tel:951562080> | 687486759 (M) <tel:687486759>
>> # 	www.voiper.es <http://www.voiper.es/>
>>
>> ------------------------------------------------------------------------
>> AVISO LEGAL
>> -----------
>>
>> Este mensaje contiene información confidencial destinada para ser leída
>> exclusivamente por el destinatario. Queda prohibida la reproducción,
>> publicación, divulgación, total o parcial del mensaje así como el uso no
>> autorizados por el emisor. En caso de recibir el mensaje por error, se ruega
>> su comunicación al remitente lo antes posible. Por favor, indique
>> inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo
>> por Internet.
>>
>> Las opiniones, conclusiones y demás información incluida en este mensaje que
>> no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se
>> entenderá que nunca se ha dado, ni está respaldado por el mismo.
>>
>> Responsable del Tratamiento de Datos
>> ------------------------------------
>> SMART RECARGAS , SL
>> Camino de las Cañadas, 1C PORTAL 1 2º G
>> 29651 MIJAS COSTA (MALAGA)
>> El 20/12/18 a las 15:18, Daniel Grotti escribió:
>>> Hi Javier,
>>> I'm sorry, can you rephrase what is your problem?
>>> I don't really get what you are trying to do.
>>>
>>> Cheers,
>>>
>>>
>>> -- 
>>> Head of Customer Support                               Sipwise GmbH
>>> e:dgrotti at sipwise.com                                Europaring F15
>>> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
>>> w:www.sipwise.com           FN: 305595f      FG: LG Wiener Neustadt
>>> On 12/18/18 6:36 PM, Javier Valencia wrote:
>>>>
>>>> Hi there!
>>>>
>>>> I'm using mr3.8.12 and I check different regex implementation 
>>>> between NCOS Levels and Peering Rule.
>>>>
>>>> NCOS Level force me to rewrite shorthand digit class from *\d*to 
>>>> *[0-9]*
>>>>
>>>> Kind regards, Javier Valencia.
>>>>
>>>>
>>>>
>>>> -- 
>>>> Logo <http://www.voiper.es/>
>>>>
>>>> 	
>>>> Javier Valencia | CTO
>>>> Centro de Negocios Martín Buendía
>>>> Camino de las Cañadas, nº 1C, Portal 1, 2ºG
>>>> 29649 Mijas (Málaga)
>>>>
>>>> # 	951562080 (T) <tel:951562080> | 687486759 (M) <tel:687486759>
>>>> # 	www.voiper.es <http://www.voiper.es/>
>>>>
>>>> ------------------------------------------------------------------------
>>>> AVISO LEGAL
>>>> -----------
>>>>
>>>> Este mensaje contiene información confidencial destinada para ser leída
>>>> exclusivamente por el destinatario. Queda prohibida la reproducción,
>>>> publicación, divulgación, total o parcial del mensaje así como el uso no
>>>> autorizados por el emisor. En caso de recibir el mensaje por error, se ruega
>>>> su comunicación al remitente lo antes posible. Por favor, indique
>>>> inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo
>>>> por Internet.
>>>>
>>>> Las opiniones, conclusiones y demás información incluida en este mensaje que
>>>> no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se
>>>> entenderá que nunca se ha dado, ni está respaldado por el mismo.
>>>>
>>>> Responsable del Tratamiento de Datos
>>>> ------------------------------------
>>>> SMART RECARGAS , SL
>>>> Camino de las Cañadas, 1C PORTAL 1 2º G
>>>> 29651 MIJAS COSTA (MALAGA)
>>>>
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> Spce-user at lists.sipwise.com
>>>> https://lists.sipwise.com/listinfo/spce-user
>>>
>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> https://lists.sipwise.com/listinfo/spce-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gppamjlaeehammfo.png
Type: image/png
Size: 7800 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ioaogjmidbmpoelg.png
Type: image/png
Size: 334 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mabmhooooodbmfha.png
Type: image/png
Size: 453 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nehalkpcljhmkmoa.png
Type: image/png
Size: 7800 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lainecneebhjbmdl.png
Type: image/png
Size: 334 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kammclljekhclaac.png
Type: image/png
Size: 453 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lnhhcgihfigkhaim.png
Type: image/png
Size: 7800 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpndedcakhdebboh.png
Type: image/png
Size: 334 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mohekmbmochonnpa.png
Type: image/png
Size: 453 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20181220/cd5b759a/attachment-0017.png>


More information about the Spce-user mailing list