发明名称 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.
申请公布号 US2004187110(A1) 申请公布日期 2004.09.23
申请号 US20030371791 申请日期 2003.02.20
申请人 BOYFIELD JULIAN 发明人 BOYFIELD JULIAN
分类号 G06F9/46;G06F17/30;(IPC1-7):G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址