ckfinder/_source/Connector/RegexLib.cs

(完整代码) 963B

/*
 * CKFinder
 * ========
 * http://ckfinder.com
 * Copyright (C) 2007-2012, CKSource - Frederico Knabben. All rights reserved.
 *
 * The software, this file and its contents are subject to the CKFinder
 * License. Please read the license.txt file before using, installing, copying,
 * modifying or distribute this file or part of its contents. The contents of
 * this file is part of the Source Code of CKFinder.
 */

using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;

namespace CKFinder.Connector
{
	internal static class RegexLib
	{
		private static Regex _ConfigServerPlaceholders;

		public static Regex ConfigServerPlaceholders
		{
			get
			{
				if ( _ConfigServerPlaceholders == null )
					_ConfigServerPlaceholders = new Regex( @"%SERVER\(\s*([^)]+?)\s*\)%", RegexOptions.Singleline | RegexOptions.Compiled );
				return _ConfigServerPlaceholders;
			}
		}
	}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。