mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	Static Calling
This commit is contained in:
		
							
								
								
									
										20
									
								
								Esiur/Data/VarInfo.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Esiur/Data/VarInfo.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Text; | ||||
| using System.Text.RegularExpressions; | ||||
|  | ||||
| namespace Esiur.Data | ||||
| { | ||||
|     struct VarInfo | ||||
|     { | ||||
|         public string Pre; | ||||
|         public string Post; | ||||
|         public string VarName; | ||||
|  | ||||
|         public string Build() | ||||
|         { | ||||
|             return Regex.Escape(Pre) + @"(?<" + VarName + @">[^\{]*)" + Regex.Escape(Post); | ||||
|         } | ||||
|     } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user