期刊文献+

正则引擎的匹配原理及简单实现

Matching Principle of Regular Expression Engine and Simple Implemention
下载PDF
导出
摘要 正则表达式是一种描述字符串结构模式的形式化表达方法。随着对其研究的深入,正则表达式已经成为了威力巨大的工具,在实际的软件开发过程中有着大量的应用。分析了NFA引擎和DFA引擎的匹配原理,根据ken.thompson提出的NFA引擎原理,给出了一种NFA引擎的C语言简单实现。 This paper mainly analyzes the matching principles of the NFA regular expression engine and DFA regular expression engine.According to the theory of Ken.Thompson's NFA regular expression engine,complete a NFA regular expression in C programming language.
出处 《工业控制计算机》 2016年第2期97-99,共3页 Industrial Control Computer
关键词 正则引擎 NFA DFA regular expression engine NFA DFA
  • 相关文献

参考文献4

二级参考文献18

  • 1杨毅夫,刘燕兵,刘萍,郭牧怡,郭莉.正则表达式的DFA压缩算法[J].通信学报,2009,30(S1):36-42. 被引量:6
  • 2Roesch M. SNORT Network Intrusion Detection System [ EB/OL ]. http ://www. snort, org,2007-01-01.
  • 3Philip Hazel. PCRE-Perl Compatible Regular Expressions [ EB/OL]. http ://www. pcre. org,2011-01-15.
  • 4Cox R. Regular Expression Matching Can Be Simple and Fast[ EB/OL]. http://swtch, com/rsc/regexp/regexpl, html,2007-01-01.
  • 5Fried1 Jeffrey E F. Mastering Regular Expressions [ M ]. O' Reilly Media,2006.
  • 6Becchi M, Crowley P. A hybrid finite automaton for practical deep packet inspection [ C ]//Proe. of the International Conference on Emerging Networking Experiments and Technologies. New York, NY, USA : ACM Press, 2007 : 770-773.
  • 7Bjorn Karlsson. Beyond the C ++ Standard Library:An Introduction to Boost [ M]. Addison Wesley Professional,2005.
  • 8David Bohon. Greta-A Free Regular Expression Library for Visual C ++ [ EB/OL]. http://eplus, about, corn/b/2007/ 04/11/greta-a-free-regular-expression-library-for-visual-c. htm ,2007-04-11.
  • 9Lin Wei,Tang Yi, Liu Bin, et al. Compact DFA structure for multiple reglflar expressions matching [ C ]//Proceedings of the 2009 IEEE International Conference on Communications. 2009 : 1-5.
  • 10Christopher L Hayes, Luo Yan. DPICO:A high speed deep packet inspection engine using compact finite automata [C]//Proeeedings of the 3rd ACM/IEEE Symposium on Architecture for Networking and Communications Systems. 2007 : 195-203.

共引文献13

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部