mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-12 12:06:29 +00:00
fix(essentials): Fixes regex lines check in delimiter loop
This commit is contained in:
parent
720c8d9ee3
commit
383d01b734
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ namespace PepperDash.Core
|
|||
foreach (var delimiter in StringDelimiters)
|
||||
{
|
||||
var lines = Regex.Split(str, delimiter);
|
||||
if (lines.Length == 0)
|
||||
if (lines.Length == 1)
|
||||
continue;
|
||||
|
||||
for (int i = 0; i < lines.Length - 1; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue