#define REG_ICASE (1<<2)
#define REG_NOSUB (1<<3)
#define REG_NEWLINE (1<<4)
+#define REG_NOTBOL (1<<5)
#define REG_NOMATCH -1
/* This sets the syntax to use and returns the previous syntax. The
* syntax is specified by a bit mask of the above defined bits. */
-char *re_compile_pattern(regex_t *compiled, unsigned char *regex);
+const char *re_compile_pattern(regex_t *compiled, unsigned char *regex);
/* This compiles the regexp (given in regex and length in regex_size).
* This returns NULL if the regexp compiled successfully, and an error
* message if an error was encountered. The buffer field must be