/* doop.c
*
- * Copyright (c) 1991-2002, Larry Wall
+ * Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+ * 2000, 2001, 2002, by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
s += ulen;
}
else { /* No match -> copy */
- Copy(s, d, ulen, U8);
+ Move(s, d, ulen, U8);
d += ulen;
s += ulen;
}
UV comp = utf8_to_uvchr(s, &len);
if (comp > 0xff) {
if (!complement) {
- Copy(s, d, len, U8);
+ Move(s, d, len, U8);
d += len;
}
else {
}
else if (uv == none) {
int i = UTF8SKIP(s);
- Copy(s, d, i, U8);
+ Move(s, d, i, U8);
d += i;
s += i;
}
}
else if (uv == none) { /* "none" is unmapped character */
int i = UTF8SKIP(s);
- Copy(s, d, i, U8);
+ Move(s, d, i, U8);
d += i;
s += i;
puv = 0xfeedface;
STRLEN len;
uv = utf8_to_uvuni(s, &len);
if (uv != puv) {
- Copy(s, d, len, U8);
+ Move(s, d, len, U8);
d += len;
puv = uv;
}
}
else if (uv == none) { /* "none" is unmapped character */
int i = UTF8SKIP(s);
- Copy(s, d, i, U8);
+ Move(s, d, i, U8);
d += i;
s += i;
continue;