Use regular expression when parsing stack frames to avoid sentry errors if line numbers are not present.