Is the MySQL regex emplementation is not standarded???

2001-03-12 Thread Vladislav Shulgin
Hi, Can anyboby help me. I'm try to write a UDF which replace substring in string according regular expression. When I compile my program with -I ./../regex gcc switch I recive as result "Segmentetion fault". But when I compile my program without -I ./../regex - my program works fine. I think gc

BIG problem with MySQL UDFs

2001-03-07 Thread Vladislav Shulgin
Hi! I have a problem with UDF. For acceleration of spell check I needed in UDF function which be able to replace substrings based on regular expressions. Such PHP functions are ereg_replace and preg_replace. Trying to write UDF for MySQL I has confronted with a strange problem. At compilation