diff options
author | Dmitry Mikhirev | 2015-02-15 15:10:15 +0300 |
---|---|---|
committer | Dmitry Mikhirev | 2015-02-15 15:10:15 +0300 |
commit | e6f7aee8c27d87047857b9daf0075e90062b4ac2 (patch) | |
tree | 0c2876dce16c20a7ae938a7314dfa8c0e1d3dbfe /pcre.c | |
parent | 15f22648cd99f392ac5cab6afeec2a0e97b85c6d (diff) | |
download | make_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.tar.gz make_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.tar.bz2 make_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.tar.xz make_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.zip |
added php-like options `A' and `D'
Diffstat (limited to 'pcre.c')
-rw-r--r-- | pcre.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -202,6 +202,10 @@ static int parse_comp_opt(const char flag, const char *func) int b; /* PCRE configuration option value */ switch (flag) { + case 'A': /* anchored regexp */ + return PCRE_ANCHORED; + case 'D': /* $ matches at the and of string only */ + return PCRE_DOLLAR_ENDONLY; case 'i': /* ignore case */ return PCRE_CASELESS; case 'm': /* multi-line */ |