added QSE_TRE_NONSTDEXT

fixed a bug of not printing pattern space properly after 'q'
This commit is contained in:
2011-09-09 01:49:53 +00:00
parent 92b4c29551
commit 3db2c566a2
7 changed files with 79 additions and 38 deletions

View File

@ -72,7 +72,14 @@ enum qse_tre_cflag_t
QSE_TRE_NOSUBREG = (1 << 3),
QSE_TRE_LITERAL = (1 << 4),
QSE_TRE_RIGHTASSOC = (1 << 5),
QSE_TRE_UNGREEDY = (1 << 6)
QSE_TRE_UNGREEDY = (1 << 6),
/* Enable non-standard extensions:
* - Enable (?:text) for no submatch backreference.
* - Enable perl-like (?...) extensions like (?i)
* if QSE_TRE_EXTENDED is also set.
*/
QSE_TRE_NONSTDEXT = (1 << 7)
};
enum qse_tre_eflag_t