From 9018db2acf7a6883f22dbde941c09a3271920ae5 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 4 Apr 2007 16:51:35 +0000 Subject: [PATCH] make the rexx expressions safer to use from Mark.Martinec@ijs.si --- magic/Magdir/msdos | 3 +++ 1 file changed, 3 insertions(+) diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos index 09e04168..4b447e67 100644 --- a/magic/Magdir/msdos +++ b/magic/Magdir/msdos @@ -14,6 +14,9 @@ # OS/2 batch files are REXX. the second regex is a bit generic, oh well # the matched commands seem to be common in REXX and uncommon elsewhere +100 regex/c =^[\ \t]{0,999}call[\ \t]{1,999}rxfu OS/2 REXX batch file text +100 regex/c =^[[:space:]]{0,999}say\ ['"] OS/2 REXX batch file text + 100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text 100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text -- 2.50.0