private String replaceVar(String group, String value) {
		// 找到所有变量标识
		final Set<String> vars = ReUtil.findAll(reg_var, value, 0, new HashSet<String>());
		String key;
		for (String var : vars) {
			key = ReUtil.get(reg_var, var, 1);
			if (StrUtil.isNotBlank(key)) {
				// 查找变量名对应的值
				String varValue = this.groupedMap.get(group, key);
				if (null != varValue) {
					// 替换标识
					value = value.replace(var, varValue);
				} else {
					// 跨分组查找
					final List<String> groupAndKey = StrUtil.split(key, CharUtil.DOT, 2);
					if (groupAndKey.size() > 1) {
						varValue = this.groupedMap.get(groupAndKey.get(0), groupAndKey.get(1));
						if (null != varValue) {
							// 替换标识
							value = value.replace(var, varValue);
						}
					}
				}
			}
		}
		return value;
	}
private String replaceVar ( String group , String value ) { final Set < String > vars = ReUtil . findAll ( reg_var , value , 0 , new HashSet < String > ( ) ) ; String key ; for ( String var : vars ) { key = ReUtil . get ( reg_var , var , 1 ) ; if ( StrUtil . isNotBlank ( key ) ) { String varValue = this . groupedMap . get ( group , key ) ; if ( null != varValue ) { value = value . replace ( var , varValue ) ; } else { final List < String > groupAndKey = StrUtil . split ( key , CharUtil . DOT , 2 ) ; if ( groupAndKey . size ( ) > 1 ) { varValue = this . groupedMap . get ( groupAndKey . get ( 0 ) , groupAndKey . get ( 1 ) ) ; if ( null != varValue ) { value = value . replace ( var , varValue ) ; } } } } } return value ; }
替换给定值中的变量标识

@param group 所在分组
@param value 值
@return 替换后的字符串