1 |
rem This file was contributed by Ralf Junker.
|
2 |
rem
|
3 |
rem MS Windows batch file to run pcretest on testfiles with the correct options.
|
4 |
rem
|
5 |
rem Assumes that this file as well as pcretest.exe is located in the PCRE root folder.
|
6 |
rem
|
7 |
rem Output written to a newly generated subfolder named "testdata".
|
8 |
|
9 |
if not exist .\testout\ md .\testout\
|
10 |
|
11 |
pcretest -q testdata\testinput1 > testout\testoutput1
|
12 |
pcretest -q testdata\testinput2 > testout\testoutput2
|
13 |
pcretest -q testdata\testinput3 > testout\testoutput3
|
14 |
pcretest -q testdata\testinput4 > testout\testoutput4
|
15 |
pcretest -q testdata\testinput5 > testout\testoutput5
|
16 |
pcretest -q testdata\testinput6 > testout\testoutput6
|
17 |
pcretest -q -dfa testdata\testinput7 > testout\testoutput7
|
18 |
pcretest -q -dfa testdata\testinput8 > testout\testoutput8
|
19 |
pcretest -q -dfa testdata\testinput9 > testout\testoutput9
|
20 |
|