]> granicus.if.org Git - file/commitdiff
make the rexx expressions safer to use from Mark.Martinec@ijs.si
authorChristos Zoulas <christos@zoulas.com>
Wed, 4 Apr 2007 16:51:35 +0000 (16:51 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 4 Apr 2007 16:51:35 +0000 (16:51 +0000)
magic/Magdir/msdos

index 09e0416814b36c38ccae019050be957c7099810e..4b447e675a84a55333dbf9545107fbce26832f65 100644 (file)
@@ -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