path: root/NEWS
authorSergey Poznyakoff <>2007-03-18 13:36:58 (GMT)
committer Sergey Poznyakoff <>2007-03-18 13:36:58 (GMT)
commit8500d9de5b108aba5221bd3d92a2743b050ddf19 (patch) (side-by-side diff)
tree592273a1eba9c79a31629eb6c97d28c98ae02b41 /NEWS
parentccef20a48e758594256dbfa246dc6c4bcffc9003 (diff)
Implement `#pragma regex push|pop'
git-svn-id: file:///svnroot/mailfromd/trunk@1293 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'NEWS') (more/less context) (ignore whitespace changes)
1 files changed, 26 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2fb9957..a3cbe49 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,32 @@ Please send mailfromd bug reports to <>
Version 3.1.91, SVN
+* #pragma regex stack
+The `#pragma regex' statement can keep a stack of regex flags. The
+stack is maintained using `push' and `pop' commands. The statement
+ #pragma regex push [options]
+saves current regex flags on stack and then optionally modifies them
+as requested by options.
+The statement
+ #pragma regex pop [options]
+does the reverse: restores the current regex flags from the top of
+stack and applies [options] to it.
+This statement is useful in include files to avoid disturbing user
+regex settings. E.g.:
+ #pragma regex push +extended +icase
+ .
+ .
+ .
+ #pragma regex pop
* Optional arguments in user-defined functions
User-defined functions can take optional arguments. In declaration,

Return to:

Send suggestions and report system problems to the System administrator.