From 6132158b8a89f27f1d28a2effe43629b80818ce0 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Sat, 22 Feb 2025 06:52:59 -0500 Subject: [PATCH] Fix typo --- librz/core/cmd_descs/cmd_descs.c | 4 ++-- librz/core/cmd_descs/cmd_search.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/librz/core/cmd_descs/cmd_descs.c b/librz/core/cmd_descs/cmd_descs.c index a2de9795f74..ab9cb14cbe5 100644 --- a/librz/core/cmd_descs/cmd_descs.c +++ b/librz/core/cmd_descs/cmd_descs.c @@ -2388,7 +2388,7 @@ static const RzCmdDescDetailEntry slash_z_Regex_space_Flags_detail_entries[] = { { 0 }, }; -static const RzCmdDescDetailEntry slash_z_Exampels_detail_entries[] = { +static const RzCmdDescDetailEntry slash_z_Examples_detail_entries[] = { { .text = "/z (ABC*)", .arg_str = NULL, .comment = "Search the exact string \"(ABC*)\"." }, { .text = "/z (ABC*)D li", .arg_str = NULL, .comment = "Search the exact string \"(ABC*)D\" but case insensitive." }, { .text = "/z \\\\d\\\\sC*\\\\w ri", .arg_str = NULL, .comment = "Search the regular expression \"\\d\\sC*\\w\" but case insensitive." }, @@ -2398,7 +2398,7 @@ static const RzCmdDescDetailEntry slash_z_Exampels_detail_entries[] = { static const RzCmdDescDetail slash_z_details[] = { { .name = "Encodings", .entries = slash_z_Encodings_detail_entries }, { .name = "Regex Flags", .entries = slash_z_Regex_space_Flags_detail_entries }, - { .name = "Exampels", .entries = slash_z_Exampels_detail_entries }, + { .name = "Examples", .entries = slash_z_Examples_detail_entries }, { 0 }, }; static const RzCmdDescHelp slash_z_help = { diff --git a/librz/core/cmd_descs/cmd_search.yaml b/librz/core/cmd_descs/cmd_search.yaml index 094742c75e2..6293d4306d5 100644 --- a/librz/core/cmd_descs/cmd_search.yaml +++ b/librz/core/cmd_descs/cmd_search.yaml @@ -753,7 +753,7 @@ commands: comment: "Extended regular expression." - text: "m" comment: "Multiline regular expression (equivalent flag: PCRE2_MULTILINE)" - - name: "Exampels" + - name: "Examples" entries: - text: "/z (ABC*)" comment: "Search the exact string \"(ABC*)\"."