⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 perltest.txt

📁 最新apache的源代码
💻 TXT
字号:
The perltest program--------------------The perltest program tests Perl's regular expressions; it has the samespecification as pcretest, and so can be given identical input, except thatinput patterns can be followed only by Perl's lower case modifiers and /+ (asused by pcretest), which is recognized and handled by the program.The data lines are processed as Perl double-quoted strings, so if they contain" \ $ or @ characters, these have to be escaped. For this reason, all suchcharacters in testinput1 and testinput3 are escaped so that they can be usedfor perltest as well as for pcretest, and the special upper case modifiers suchas /A that pcretest recognizes are not used in these files. The output shouldbe identical, apart from the initial identifying banner.For testing UTF-8 features, an alternative form of perltest, called perltest8,is supplied. This requires Perl 5.6 or higher. It recognizes the specialmodifier /8 that pcretest uses to invoke UTF-8 functionality. The testinput5file can be fed to perltest8.The testinput2 and testinput4 files are not suitable for feeding to perltest,since they do make use of the special upper case modifiers and escapes thatpcretest uses to test some features of PCRE. The first of these files alsocontains malformed regular expressions, in order to check that PCRE diagnosesthem correctly. Similarly, testinput6 tests UTF-8 features that do not relateto Perl.Philip Hazel <ph10@cam.ac.uk>August 2000

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -