X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcregex.h;h=2adddb37876a4edbbece4d2c5065ad501b7f8f36;hp=1527a2c57d7cf8127ab71ca13660de28b47c7855;hb=89429cd0dc7e29b8284d5b6066f94719509ec885;hpb=f2462c5dd7e885e3daa00066fbf53e166fd361e0 diff --git a/lib/silcutil/silcregex.h b/lib/silcutil/silcregex.h index 1527a2c5..2adddb37 100644 --- a/lib/silcutil/silcregex.h +++ b/lib/silcutil/silcregex.h @@ -112,7 +112,17 @@ typedef struct SilcRegexMatchObject { * SOURCE */ typedef enum { - SILC_REGEX_FLAG_DEFAULT = 0, + SILC_REGEX_DEFAULT = 0x00000000, + + /* The following flags can be used with silc_regex_match */ + + /* The beginning-of-line (^) always fails to match. This can be useful + when beginning of a string should not be interpreted as the beginning + of line. */ + SILC_REGEX_NOTBOL = 0x00010000, + + /* The end-of-line ($) always fails to match. */ + SILC_REGEX_NOTEOL = 0x00020000, } SilcRegexFlags; /***/