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

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