We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a2eed commit 0a0d2e6Copy full SHA for 0a0d2e6
utils.ts
@@ -15,12 +15,12 @@ export function duplicate<T>(list: readonly T[]): T[] {
15
return [...duplicates];
16
}
17
18
-const reCommaSplitWithoutDquote = /,(?=(?:(?:[^"]*"){2})*[^"]*$)/;
+const reCommaSplitWithoutDQuote = /,(?=(?:(?:[^"]*"){2})*[^"]*$)/;
19
20
/** Parse string into list-based field. */
21
export function parseList(input: string): string[] {
22
return input
23
- .split(reCommaSplitWithoutDquote)
+ .split(reCommaSplitWithoutDQuote)
24
.map(trim)
25
.filter(Boolean);
26
0 commit comments