本文已被:浏览 1877次 下载 3288次
Received:February 23, 2012 Revised:March 27, 2012
Received:February 23, 2012 Revised:March 27, 2012
中文摘要: 正则表达式是表达复杂检索条件的有力工具. 但是现有的正则表达式表达规则仍有不少不足之处, 例如不能用简单的形式表达“任何一种水果”这样的意思. 提出一种基于集合扩展的架构, 使得可以在正则表达式中包含用户自定义集合, 用以表示“此处可以是集合中的任一成员”这样的含义. 提出的这种集合不仅是用户自定义的,而且是动态的、按名称访问的.
Abstract:Regular expression is a powerful tool to express a complex retrieve condition. However, some lacks that still exist in the current regular expression. For example, we can’t express such a meaning like “any one kind of fruit”in a simple form. In this paper, an extension based on set which can be defined dynamic by user is proposed. By this extension, this paper can express the meaning “here can be any member of the set” simply in a regular expression.
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
CHENG Yuan-Bin | School of Mathematics & Computer Science, Jianghan University, Wuhan 430056, China |
Author Name | Affiliation |
CHENG Yuan-Bin | School of Mathematics & Computer Science, Jianghan University, Wuhan 430056, China |
引用文本:
程元斌.正则表达式的动态集合扩展与实现.计算机系统应用,2012,21(10):201-203
CHENG Yuan-Bin.Extension and Implementation of Regular Expression’s Dynamic Set.COMPUTER SYSTEMS APPLICATIONS,2012,21(10):201-203
程元斌.正则表达式的动态集合扩展与实现.计算机系统应用,2012,21(10):201-203
CHENG Yuan-Bin.Extension and Implementation of Regular Expression’s Dynamic Set.COMPUTER SYSTEMS APPLICATIONS,2012,21(10):201-203