Changeset bc08664 for regex.c


Ignore:
Timestamp:
Oct 26, 2003, 4:11:37 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
995eb4b
Parents:
e3d9c77
Message:
zpunt now works wtih weird regex characters
	CVS: ----------------------------------------------------------------------
File:
1 edited

Legend:

Unmodified
Added
Removed
  • regex.c

    re187445 rbc08664  
    3636  }
    3737
     38  return(0);
     39}
     40
     41int owl_regex_create_quoted(owl_regex *re, char *string)
     42{
     43  char *quoted;
     44 
     45  quoted=owl_text_quote(string, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH);
     46  owl_regex_create(re, quoted);
     47  owl_free(quoted);
    3848  return(0);
    3949}
Note: See TracChangeset for help on using the changeset viewer.