- if ((matched = domatch(p, text)) != FALSE)
- return matched;
- if (!special && *text == '/')
- return FALSE;
+ if ((matched = domatch(p, text)) != FALSE) {
+ if (!special || matched != ABORT_TO_STARSTAR)
+ return matched;
+ }
+ else if (!special && *text == '/')
+ return ABORT_TO_STARSTAR;