1 個回答
- 最新
- 最多得票
- 最多評論
1
Possibly it's treating the escape as a String escape rather than a regex escape? Perhaps try:
"^\\[([0-9]{2}:[0-9]{2}:[0-9]{2} [A-Z]{3})\\]"
I'm not using this anywhere currently, and I didn't construct a test, so this guess might not pay off, but seems worth a shot.
已回答 2 年前