Show significant letters in the derivation scheme in store settings

This commit is contained in:
nicolas.dorier
2020-11-08 11:29:36 +09:00
parent 5a7730951a
commit cc6fe24e82

View File

@@ -1,4 +1,4 @@
@using System.Text.RegularExpressions
@using System.Text.RegularExpressions
@model StoreViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";
@@ -52,7 +52,7 @@
<code class="text-nowrap">
@if (scheme.Value.Length > 20)
{
var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{6})$");
var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{16})$");
@match.Value;
}
</code>