}
if (!strict) {
- return 1;
+ return 0;
}
return ret;
/* We have mailto:// at the beginning */
match->m_begin = pos;
- return TRUE;
}
else {
/* Just '@' */
/* Check if this match is a part of the previous mailto: email */
if (cb->last_at != NULL && cb->last_at == pos) {
cb->last_at = NULL;
+ return FALSE;
}
-
- return FALSE;
}
- return FALSE;
+ return TRUE;
}
static gboolean
c --;
}
/* Rewind to the first alphanumeric character */
- while (c < pos && !g_ascii_isalnum (c)) {
+ while (c < pos && !g_ascii_isalnum (*c)) {
c ++;
}