mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:37:34 +00:00
LibRegex: Remove trailing newline from error_string()
This commit is contained in:
parent
ca8e5b0791
commit
7615649fdf
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ String Regex<Parser>::error_string(Optional<String> message) const
|
|||
for (size_t i = 0; i < parser_result.error_token.position(); ++i)
|
||||
eb.append(" ");
|
||||
|
||||
eb.appendf("^---- %s\n", message.value_or(get_error_string(parser_result.error)).characters());
|
||||
eb.appendf("^---- %s", message.value_or(get_error_string(parser_result.error)).characters());
|
||||
return eb.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue