Is this good enough?
| > Regexp.PCRE("b[^-]*m")->replace("abam-boom-fooabadoom","gurka"); | Result: "agurka-gurka-fooagurka" | > Regexp.PCRE("b[^-]*m")->replace("abam-boom-fooabadoom", | lambda(string s) { werror("%O\n",s); return "gurka"; }); | "bam" | "boom" | "badoom" | Result: "agurka-gurka-fooagurka"
/ Mirar
Previous text:
2003-09-24 13:17: Subject: utf8_char_index
Another thing, is 1) anyone using Regexp.replace, and 2) how is it supposed to work? Is it supposed to work?
/ Mirar