QuestionQ24Verified/GNU and Unix CommandsCopy linkReport a problemAsk AstroTutorSave questionWhat output results when the regular expression s/[ABC] [abc]/xx/ is applied to this string? ABCabc -AABxxbcBxxCxxcCxxxxxxDABCabcEAxxaxxShow AnswerAnswerExplanationThe expression matches an uppercase A, B, or C, followed by a space and then a lowercase a, b, or c. No such sequence occurs in the input, so it remains unchanged.Show comments10Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion