On 2/21/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:



On 2/21/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
>
> "Dharshana Eswaran" schreef:
>
> > TAPI_VOICE_NOTIFY_OTHERAPP_JOINING_MSGID
> > TAPI_TTY_NOTIFY_TTY_TONE_MSGID
> > [...]
> > Can anyone help me in getting a generalised pattern from these?
>
>   m/^ TAPI (?:_[A-Z]+)+ $/x
>
> --
> Affijn, Ruud
>
> "Gewoon is een tijger."
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
> Thank you Dr.Ruud.

I just noticed one problem here,

I have a few strings which is similar to those but starts with a
#TAPI_....
for eg: #TAPI_ACCE_NOTIFY_TIME_CHANGED_MSG_S
#TAPI_CPHS_NOTIFY_WAITTING_MSG_S
#TAPI_NETWORK_SIGNAL_E etc...

So i tried the same pattern as what you suggested with a little change in
it,

m/^ #TAPI (?:_[A-Z]+)+ $/x

But this is filtering both the strings starting from TAPI and the strings
starting from #TAPI.

Can i know how to filter the strings starting from #TAPI seperately and
TAPI seperately?

Thanks and Regards,
Dharshana


Sorry for this previous mail. That was a silly mistake in my code. That
works!!!!

Thanks for the help.

Regards,
Dharshana

Reply via email to