Print this page
9083 replace regex implementation with tre

*** 1642,1652 **** *dstp = dst = (wchar_t *)malloc(len * sizeof (wchar_t)); if (dst == NULL) return (REG_ESPACE); if (rp == NULL || rpl == NULL || src == NULL || dst == NULL) ! return (REG_EFATAL); glob = 0; /* match count */ ip = src; /* source position */ op = dst; /* destination position */ end = dst + len; --- 1642,1652 ---- *dstp = dst = (wchar_t *)malloc(len * sizeof (wchar_t)); if (dst == NULL) return (REG_ESPACE); if (rp == NULL || rpl == NULL || src == NULL || dst == NULL) ! return (REG_BADPAT); glob = 0; /* match count */ ip = src; /* source position */ op = dst; /* destination position */ end = dst + len;