匹配VMS文件名的正确正则表达式模式是什么? [英] What's the correct regexp pattern to match a VMS filename?
本文介绍了匹配VMS文件名的正确正则表达式模式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
位于
The documentation at http://h71000.www7.hp.com/doc/731final/documentation/pdf/ovms_731_file_app.pdf (section 5-1) says the filename should look like this:
node::device:[root.][directory-name]filename.type;version
其中大多数是可选的(例如节点,设备,版本)-不知道哪些以及如何在正则表达式中正确编写(包括目录名称):
Most of them are optional (like node, device, version) - not sure which ones and how to correctly write this in a regexp, (including the directory name):
DISK1:[MYROOT.][MYDIR]FILE.DAT
DISK1:[MYDIR]FILE.DAT
[MYDIR]FILE.DAT
FILE.DAT;10
NODE::DISK5:[REMOTE.ACCESS]FILE.DAT
推荐答案
See the documentation and source for the VMS::Filespec Perl module.
这篇关于匹配VMS文件名的正确正则表达式模式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文