コード例 #1
0
ファイル: Ore.cs プロジェクト: theroadninja/Sanderling
 static Regex Regex(OreTypeEnum oreType) =>
 RegexPattern(oreType).AsRegexCompiledIgnoreCase();
コード例 #2
0
ファイル: Ore.cs プロジェクト: theroadninja/Sanderling
 static public string RegexPattern(this OreTypeEnum oreType) =>
 System.Text.RegularExpressions.Regex.Replace(oreType.ToString(), "[\\s_]+", "[\\s]*");
コード例 #3
0
ファイル: Ore.cs プロジェクト: grachevko/Sanderling
		static Regex Regex(OreTypeEnum OreType) =>
			RegexPattern(OreType).AsRegexCompiledIgnoreCase();