|
|
| version 1.89, 2001/11/09 11:59:13 | version 1.91, 2001/12/13 13:01:44 |
|---|---|
| Line 84 static void _double(Request& r, const St | Line 84 static void _double(Request& r, const St |
| Temp_lang temp_lang(r, String::UL_PASS_APPENDED); | Temp_lang temp_lang(r, String::UL_PASS_APPENDED); |
| char *buf=format(pool, r.self->as_double(), | char *buf=format(pool, r.self->as_double(), |
| r.process(fmt).as_string().cstr(String::UL_UNSPECIFIED)); | r.process(fmt).as_string().cstr(String::UL_UNSPECIFIED, r.connection)); |
| String result(pool); | String result(pool); |
| result.APPEND_CLEAN(buf, 0, | result.APPEND_CLEAN(buf, 0, |
| Line 258 static void _match(Request& r, const Str | Line 258 static void _match(Request& r, const Str |
| else | else |
| result=new(pool) VBool(pool, matched); | result=new(pool) VBool(pool, matched); |
| } else { // replace | } else { // replace |
| Value& replacement_code=params->as_junction(2, "replacement code must be code"); | Value& replacement_code=params->as_junction(2, "replacement param must be code"); |
| String& dest=*new(pool) String(pool); | String& dest=*new(pool) String(pool); |
| Replace_action_info replace_action_info={ | Replace_action_info replace_action_info={ |