Re: regex did work, but regexec doesn´t work!
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: regex did work, but regexec doesn´t work!




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: regex did work, but regexec doesn´t work!  
ciriglezglez@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-24-06 06:22 PM

Hi again!

I=B4m so sorry. I found the problem..., and it was a design problem!. So
regexec do work as well as regex, at least for me.



On 22 nov, 19:32, ciriglezg...@gmail.com wrote:
> Hi, everyone
>
> I used regex/regcmp to search for a string in a regular expression, and
> it worked. However, now i have to use regexec/regcomp to search for the
> same string in the same regular expression, and it doesn=B4t work. I=B4m
> using binary strings
>
> For example, the following string:
>      ^A^A  ^DB_S            =FF^L^W
> matches the regcmp compiled pattern: ^TB^T_^TS4
>
> However, the regcomp compiled pattern is:^P^N^CB_S^Q^_. And this
> pattern doesn=B4t match the string I need to!.
>
> Maybe i=B4m using regexec/regcomp in a wrong way...
>=20
> Can anybody help me?
> Thanks in advance






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:23 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register