aboutsummaryrefslogtreecommitdiff
path: root/Source/Assistant/SkuExtension.cs
blob: 51aaf6cc513bba3a83c46c8efc46f13ae103df2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using System.Text.RegularExpressions;

namespace RehauSku.Assistant
{
    static class SkuExtension
    {
        public static bool IsRehauSku(this string line)
        {
            return Regex.IsMatch(line, @"^[1]\d{6}[1]\d{3}$");
        }
    }
}