Changeset 1aa2b1a for functions.c
- Timestamp:
- Oct 24, 2006, 1:10:49 AM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 908e388
- Parents:
- 1152d45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rc0a90c2 r1aa2b1a 2610 2610 owl_text_tr(tmpinstance, ' ', '.'); 2611 2611 } 2612 sprintf(argbuff, "( class ^ %s$ )", tmpclass);2612 sprintf(argbuff, "( class ^(un)*%s(\\.d)*$ )", tmpclass); 2613 2613 if (tmpinstance) { 2614 sprintf(argbuff, "%s and ( instance ^%s $ )", argbuff, tmpinstance);2614 sprintf(argbuff, "%s and ( instance ^%s(\\.d)*$ )", argbuff, tmpinstance); 2615 2615 } 2616 2616 owl_free(tmpclass); … … 2989 2989 quoted=owl_text_quote(class, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2990 2990 owl_text_tr(quoted, ' ', '.'); 2991 sprintf(buff, "%s ^ %s$", buff, quoted);2991 sprintf(buff, "%s ^(un)*%s(\\.d)*$", buff, quoted); 2992 2992 owl_free(quoted); 2993 2993 } … … 2997 2997 quoted=owl_text_quote(inst, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2998 2998 owl_text_tr(quoted, ' ', '.'); 2999 sprintf(buff, "%s and instance ^ %s$", buff, quoted);2999 sprintf(buff, "%s and instance ^(un)*%s(\\.d)*$", buff, quoted); 3000 3000 owl_free(quoted); 3001 3001 }
Note: See TracChangeset
for help on using the changeset viewer.