22 Nov
2002
22 Nov
'02
2:51 p.m.
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