Use readonly modifier for time regex time code

This commit is contained in:
ivandroly 2015-07-02 18:04:57 +00:00
parent 668c6ff005
commit 95f3bc7a83

View File

@ -12,7 +12,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
/// </summary>
public class F4Text : SubtitleFormat
{
private static Regex regexTimeCodes = new Regex(@"^\d\d:\d\d:\d\d-\d$", RegexOptions.Compiled);
private static readonly Regex regexTimeCodes = new Regex(@"^\d\d:\d\d:\d\d-\d$", RegexOptions.Compiled);
public override string Extension
{