131fe7b525
package:stack_trace only parses stack traces in very specific formats and this has caused us to miss some in the past. https://github.com/Dart-Code/Dart-Code/issues/5360 reports that this is also the case when there is any prefix (including `flutter:`) in the output. Rather than trying to clean up the input to pass to package:stack_trace, this just uses a simple regex to extract the URIs (and optional line/cols) from the line instead. Fixes https://github.com/Dart-Code/Dart-Code/issues/5360 Change-Id: I13192fb201499f6cee6e28e7aa86d882557c0232 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400380 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Derek Xu <derekx@google.com> Reviewed-by: Derek Xu <derekx@google.com>