Skip to content

Commit 9f7dad2

Browse files
committed
💡 Add comment that explains the OMISSION RegEx
Signed-off-by: Luka Leer <[email protected]>
1 parent d0c1a27 commit 9f7dad2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/command-parser/expand-wildcard.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import _ from 'lodash';
44
import { CommandInfo } from '../command';
55
import { CommandParser } from './command-parser';
66

7+
// Matches a negative filter surrounded by '(!' and ')'.
78
const OMISSION = /\(!([^)]+)\)/;
89

910
/**

0 commit comments

Comments
 (0)