logo       

Re: solaris gcc 3.2 stlport regexp (bug?): msg#00260

lib.boost.user

Subject: Re: solaris gcc 3.2 stlport regexp (bug?)

Ok, I have some more information, some of the problem was due to
compiling my application with -shared -fPIC (not the shared library).
I got rid of that and the remaining problem was the following reg exp:

reg_exp="(\\w+)=(\\{|\"([^\\t\\n\\r\\f\"].*)\"|([^
\\t\\n\\r\\f]+))|\\}|\\{";

in perl :

/(\w+)=(\{|"([^\t\n\r\f"]*)"|([^ \t\n\r\f]+))|\}|\{/g



Sometimes this line will work and others seg fault/illegal
instruction. Changing the reg exp to .*class_name.* works fully.
Change it back, segfault.

as an aside it is meant to match :

field_name="field value " or sub_message_name={

with a whole document made of this format.

Does the regexp work on other compilers?

Chris


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EbFolB/TM
---------------------------------------------------------------------~->

Info: <http://www.boost.org>
Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
Unsubscribe: <mailto:boost-users-unsubscribe@xxxxxxxxxxxxxxx>


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise