diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-13 20:39:41 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-13 20:39:41 +0300 |
commit | e175a634cefc6e8c0ecd49514a89b1d4f30ce33b (patch) | |
tree | e4265926b772d31e2eff58d52ee3e1ec159af2a8 /Source/Assistant/SkuExtension.cs | |
parent | b7c65d64e98092049fddc1b482bfc7aa97759d60 (diff) |
Refactoring. ExcelDNA.IntelliSense library add.
Add description to Excel functions.
Diffstat (limited to 'Source/Assistant/SkuExtension.cs')
-rw-r--r-- | Source/Assistant/SkuExtension.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Assistant/SkuExtension.cs b/Source/Assistant/SkuExtension.cs new file mode 100644 index 0000000..51aaf6c --- /dev/null +++ b/Source/Assistant/SkuExtension.cs @@ -0,0 +1,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}$"); + } + } +}
\ No newline at end of file |