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

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