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 0742a08 commit d6f56aaCopy full SHA for d6f56aa
src/git/search.ts
@@ -52,7 +52,7 @@ export namespace SearchPattern {
52
]);
53
54
const searchOperationRegex =
55
- /(?:(?<op>=:|message:|@:|author:|#:|commit:|\?:|file:|~:|change:)\s?(?<value>".+?"|\S+\b))|(?<text>\S+)(?!(?:=|message|@|author|#|commit|\?|file|~|change):)/gi;
+ /(?:(?<op>=:|message:|@:|author:|#:|commit:|\?:|file:|~:|change:)\s?(?<value>".+?"|\S+\b}?))|(?<text>\S+)(?!(?:=|message|@|author|#|commit|\?|file|~|change):)/gi;
56
57
export function fromCommit(ref: string): string;
58
export function fromCommit(commit: GitRevisionReference): string;
0 commit comments