首页> 外国专利> Method and apparatus for specifying properties using regular expression parameterization

Method and apparatus for specifying properties using regular expression parameterization

机译:使用正则表达式参数化指定属性的方法和装置

摘要

One embodiment of the present invention provides a system that facilitates using regular expression parameterization to specify properties in tables in a computer system. During operation, the system receives a configuration file, wherein the configuration file contains lines that specify values for properties to be stored in rows of one or more the tables in the computer system. Next, the system processes lines in the configuration file, wherein processing a given line involves, reading a key-property list from the given line, and using property-value pairs from the key-property list to match properties in one or more rows in a table. Processing the given line also involves reading a property-value list from the given line, and using property-value pairs from the property-value list to update values for one or more properties in the matching rows. During this process, the given line can contain regular expressions that cause the system to perform parameter substitution by picking up one or more parameters while matching properties in the key property list, and then substituting the parameters into updates specified by the property-value list.
机译:本发明的一个实施例提供了一种便于使用正则表达式参数化来指定计算机系统中的表中的属性的系统。在操作期间,系统接收配置文件,其中配置文件包含用于指定要存储在计算机系统中一个或多个表的行中的属性的值的行。接下来,系统处理配置文件中的行,其中处理给定的行包括:从给定的行中读取键属性列表,并使用键属性列表中的属性值对来匹配其中一个或多个行中的属性一张桌子。处理给定的行还涉及从给定的行中读取属性值列表,并使用属性值列表中的属性值对来更新匹配行中一个或多个属性的值。在此过程中,给定的行可以包含正则表达式,这些正则表达式使系统通过在匹配关键属性列表中的属性的同时拾取一个或多个参数,然后将这些参数替换为属性值列表指定的更新,来执行参数替换。

著录项

  • 公开/公告号GB0403948D0

    专利类型

  • 公开/公告日2004-03-24

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC.;

    申请/专利号GB20040003948

  • 发明设计人

    申请日2004-02-17

  • 分类号G06F17/30;

  • 国家 GB

  • 入库时间 2022-08-21 22:38:53

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号