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

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