mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-02 15:13:15 -07:00
Fix regex gap in UserSimulator to handle 'Xm' timer format
This commit is contained in:
committed by
Mahima Shanware
parent
27ed3a4d07
commit
5bce1f78bd
@@ -104,7 +104,7 @@ export class UserSimulator {
|
||||
.replace(/[\u2800-\u28FF]/g, '')
|
||||
.replace(/[|/-\\]/g, '')
|
||||
.replace(/\b\d+(\.\d+)?s\b/g, '')
|
||||
.replace(/\b\d+m\s+\d+s\b/g, '')
|
||||
.replace(/\b\d+m(\s+\d+s)?\b/g, '')
|
||||
.replace(/\(\s*\)/g, '')
|
||||
.trim();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user