~ubuntu-branches/ubuntu/saucy/augeas/saucy-proposed

« back to all changes in this revision

Viewing changes to src/regexp.h

  • Committer: Package Import Robot
  • Author(s): Nicolas Valcárcel Scerpella
  • Date: 2011-11-10 09:20:03 UTC
  • mto: (1.5.1) (19.1.11 precise)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20111110092003-sb3z6bq97rlb96de
Tags: upstream-0.9.0
Import upstream version 0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 */
42
42
struct regexp *make_regexp(struct info *info, char *pat, int nocase);
43
43
 
 
44
/* Make a regexp with pattern PAT, which is copied. Ownership of INFO is
 
45
 * taken. Escape sequences like \n in PAT are interpreted.
 
46
 */
 
47
struct regexp *make_regexp_unescape(struct info *info, const char *pat,
 
48
                                    int nocase);
 
49
 
44
50
/* Return 1 if R is an empty pattern, i.e. one consisting of nothing but
45
51
   '(' and ')' characters, 0 otherwise */
46
52
int regexp_is_empty_pattern(struct regexp *r);
50
56
 */
51
57
struct regexp *make_regexp_literal(struct info *info, const char *text);
52
58
 
 
59
/* Make a regexp from a glob pattern */
 
60
struct regexp *make_regexp_from_glob(struct info *info, const char *glob);
 
61
 
53
62
/* Do not call directly, use UNREF instead */
54
63
void free_regexp(struct regexp *regexp);
55
64