Boost logo

Boost Users :

From: c_twiner (c_twiner_at_[hidden])
Date: 2002-11-22 09:51:48


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net