Changeset 4099cf8
- Timestamp:
- Apr 19, 2007, 1:04:43 PM (16 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 4228f8b
- Parents:
- d754b0a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rc2c5c77 r4099cf8 2653 2653 /* downcase it */ 2654 2654 downstr(filtname); 2655 /* turn spaces into dots */2655 /* turn spaces, single quotes, and double quotes into dots */ 2656 2656 owl_text_tr(filtname, ' ', '.'); 2657 owl_text_tr(filtname, '\'', '.'); 2658 owl_text_tr(filtname, '"', '.'); 2657 2659 2658 2660 /* if it already exists then go with it. This lets users override */ … … 2664 2666 tmpclass=owl_text_quote(class, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2665 2667 owl_text_tr(tmpclass, ' ', '.'); 2668 owl_text_tr(tmpclass, '\'', '.'); 2669 owl_text_tr(tmpclass, '"', '.'); 2666 2670 if (instance) { 2667 2671 tmpinstance=owl_text_quote(instance, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2668 2672 owl_text_tr(tmpinstance, ' ', '.'); 2673 owl_text_tr(tmpinstance, '\'', '.'); 2674 owl_text_tr(tmpinstance, '"', '.'); 2669 2675 } 2670 2676 len = strlen(tmpclass); … … 3085 3091 quoted=owl_text_quote(class, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 3086 3092 owl_text_tr(quoted, ' ', '.'); 3093 owl_text_tr(quoted, '\'', '.'); 3094 owl_text_tr(quoted, '"', '.'); 3087 3095 sprintf(buff, "%s ^(un)*%s(\\.d)*$", buff, quoted); 3088 3096 owl_free(quoted); … … 3093 3101 quoted=owl_text_quote(inst, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 3094 3102 owl_text_tr(quoted, ' ', '.'); 3103 owl_text_tr(quoted, '\'', '.'); 3104 owl_text_tr(quoted, '"', '.'); 3095 3105 sprintf(buff, "%s and instance ^(un)*%s(\\.d)*$", buff, quoted); 3096 3106 owl_free(quoted); … … 3099 3109 quoted=owl_text_quote(recip, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 3100 3110 owl_text_tr(quoted, ' ', '.'); 3111 owl_text_tr(quoted, '\'', '.'); 3112 owl_text_tr(quoted, '"', '.'); 3101 3113 sprintf(buff, "%s and recipient ^%s$", buff, quoted); 3102 3114 owl_free(quoted);
Note: See TracChangeset
for help on using the changeset viewer.