首页> 外国专利> Method of efficiently parsing a file for a plurality of strings

Method of efficiently parsing a file for a plurality of strings

机译:有效地解析多个字符串的文件的方法

摘要

A preferred embodiment of the method of the present invention parses a large computer file for a selected set of target strings in a manner whereby computing power is conserved and parsing speed is increased. The method parses for the selected set of target strings by initially writing a comprehensive regular expression that will return a match if any component of the target strings in the set are present in a line of the computer file. If a regular expression match is made in a line, string comparisons for all of the strings in the set of target strings are run for the line. The preferred embodiment preferably generates a log of all positive string comparisons that are made in the file.
机译:本发明的方法的一个优选实施例以节省计算能力并提高解析速度的方式为选定的目标字符串集解析大型计算机文件。该方法通过最初编写一个综合的正则表达式来解析所选目标字符串集,如果该正则表达式集中在计算机文件的一行中,则返回一个匹配项。如果在一行中进行了正则表达式匹配,则将对该行运行目标字符串集中所有字符串的字符串比较。优选实施例优选地生成在文件中进行的所有正字符串比较的日志。

著录项

  • 公开/公告号US2006265357A1

    专利类型

  • 公开/公告日2006-11-23

    原文格式PDF

  • 申请/专利权人 MATTHEW P. POTTS;

    申请/专利号US20050114651

  • 发明设计人 MATTHEW P. POTTS;

    申请日2005-04-26

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-21 21:02:35

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号