mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Prepare CMakeLists.txt format detector
This commit is contained in:
@@ -19,7 +19,7 @@ using System.Text.RegularExpressions;
|
||||
|
||||
namespace QuickLook.Plugin.TextViewer.Detectors;
|
||||
|
||||
public class XMLDetector : IFormatDetector
|
||||
public sealed class XMLDetector : IFormatDetector
|
||||
{
|
||||
internal Regex Signature { get; } = new(@"<\?xml\b[^>]*\bversion\s*=\s*""[^""]*""[^\?>]*\?>", RegexOptions.IgnoreCase);
|
||||
|
||||
|
Reference in New Issue
Block a user