Fixed a crash

This commit is contained in:
Simon Cambier
2022-05-02 18:36:33 +02:00
parent 228e410592
commit cb84f109c0
3 changed files with 1 additions and 5 deletions

View File

@@ -31,10 +31,6 @@ export class Query {
return this.segments.map(({ value }) => value).join(' ')
}
public segmentsToRegex(): RegExp {
return stringsToRegex(this.segments.map(s => s.value))
}
/**
* Returns the terms that are encased in quotes
* @returns