optimize intention
This commit is contained in:
@@ -73,7 +73,7 @@ final class CommerceQueryParser
|
||||
*/
|
||||
private function extractPriceRange(string $prompt): array
|
||||
{
|
||||
$priceMin = 10;
|
||||
$priceMin = 0;
|
||||
$priceMax = null;
|
||||
|
||||
if (preg_match('/\bzwischen\s+(\d+(?:[.,]\d+)?)\s+und\s+(\d+(?:[.,]\d+)?)\s+euro\b/u', $prompt, $m) === 1) {
|
||||
|
||||
Reference in New Issue
Block a user