treat it as a literal character.
+2004-11-04 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\',
+ treat it as a literal character.
+
2004-11-03 Kim F. Storm <storm@cua.dk>
* .gdbinit (ppt): New function.
{
if (*p0 == '-')
ndashes++;
- else if (*p0 == '*')
+ else if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
nstars++;
}
*p1++ = '^';
for (p0 = (char *) SDATA (pattern); *p0; p0++)
{
- if (*p0 == '*')
+ if (*p0 == '*' && p0 > SDATA (pattern) && p0[-1] != '\\')
{
if (ndashes < 14)
*p1++ = '.';