<commit_before>using System;
using System.Text.RegularExpressions;

namespace Subtext.Scripting
{
	/// <summary>
	/// Class for parsing connection strings.  Will add the ability to 
	/// change connection string properties and have the full string work properly.
	/// </summary>
	public class ConnectionString
	{
		string _connectionFormatString = "{0}={1};{2}={3};User ID={4};Password={5};{6}";
		string _databaseFieldName;
		string _serverFieldName;
		string _securityType;
		string _securityTypeText;
		
		/// <summary>
		/// Parses the specified connection string.
		/// </summary>
		/// <param name="connectionString">The connection string.</param>
		/// <returns></returns>
		public static ConnectionString Parse(string connectionString)
		{
			return new ConnectionString(connectionString);
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="ConnectionString"/> class.
		/// </summary>
		private ConnectionString()
		{
		}

		/// <summary>
		/// Gets the server.
		/// </summary>
		/// <value>The server.</value>
		public string Server
		{
			get
			{
				return _server;
			}
			set { _server=value; }
		}

		string _server;

		/// <summary>
		/// Gets or sets the database this connection string connects to.<commit_msg>Made empty constructor public, in order to initialize an empty ConnectionString from  outside the class<commit_after>using System;
using System.Text.RegularExpressions;

namespace Subtext.Scripting
{
	/// <summary>
	/// Class for parsing connection strings.  Will add the ability to 
	/// change connection string properties and have the full string work properly.
	/// </summary>
	public class ConnectionString
	{
		string _connectionFormatString = "{0}={1};{2}={3};User ID={4};Password={5};{6}";
		string _databaseFieldName;
		string _serverFieldName;
		string _securityType;
		string _securityTypeText;
		
		/// <summary>
		/// Parses the specified connection string.
		/// </summary>
		/// <param name="connectionString">The connection string.</param>
		/// <returns></returns>
		public static ConnectionString Parse(string connectionString)
		{
			return new ConnectionString(connectionString);
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="ConnectionString"/> class.
		/// </summary>
		public ConnectionString()
		{
		}

		/// <summary>
		/// Gets the server.
		/// </summary>
		/// <value>The server.</value>
		public string Server
		{
			get
			{
				return _server;
			}
			set { _server=value; }
		}

		string _server;

		/// <summary>
		/// Gets or sets the database this connection string connects to.
{'fraction_non_alphanumeric': 0.13093858632676708, 'fraction_numerical': 0.005407493240633449, 'mean_word_length': 3.190938511326861, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3523084', 'n_tokens_mistral': 834, 'n_tokens_neox': 726, 'n_words': 223}