From nobody Fri Jun 09 11:16:24 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qcz6c5XJPz4bbqN for ; Fri, 9 Jun 2023 11:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qcz6c2zvzz4DP3 for ; Fri, 9 Jun 2023 11:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686309384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I0EsfmARqk56ngKXqByDvNzEsI7xqxIQvjDxKMGBjgk=; b=xVEPaJngmd7Su9aoo6yc93uMq8RJo8ATkAK0Kn4d8Ymfwb1jL27550yYiZarbAiibvvfru 07juNPMF7dfXvLlj6uN0f1ys+jgVHQGUEpnRYkh0QHOkUbTJ/AqlIZ1vgNV6+y3XlVOE65 ljpjbCEMS0PFU/Y0k9EK11NlsrICascuUdVZn5MhyWcIqUIFmTx4z2G/OdPhiGVYg/XxPF EjwyUk34pUE3g+vwzzEshVp3NRbICqAKgUX6j2un5GJsLVmNjbA6uIuaFxAw+J/oRY++RN zVXAUzA+NhpGoGo8pF0tsTe71A0fVjlbYUbqPFprpF4MreKOaxYTJP/JmSbvEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686309384; a=rsa-sha256; cv=none; b=hg3K1yMbpeRpl4wd5pkegk0hQN398xfeObnamACnuYWqT14XQZTHUnLZHQ3Ad7/PHQKxIZ XPH08vDRsrvJwtbWvjg/gGeNopJjfeIlncGayuixoFig/NrPtWm/3F2W3QbRTep7oQ9YZB PdF5MZd/GI96za9uqXMBuoA+eJbMuaHEcSbjD3H9xZmZnLuzwxEn4O6cpzfQ4bKBrDO7wr 5vJh0p6D3fe30QfBo1N7Du4hF/d3JsmmF6SjDpta2I6LBdBgIbNWyNsPLr50EbtkbG7UYl wbrrGaly4XE7cYZvARX0tLuOZljgwix2Xx+NTLxHNs2Vddb0dF8BZODqJsVZIw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qcz6c1xzyzYJn for ; Fri, 9 Jun 2023 11:16:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 359BGOEJ095214 for ; Fri, 9 Jun 2023 11:16:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 359BGOaU095213 for bugs@FreeBSD.org; Fri, 9 Jun 2023 11:16:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271906] Aparent performance problem with basic and extended regular expressions Date: Fri, 09 Jun 2023 11:16:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: marius@isgate.is X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271906 --- Comment #4 from marius@isgate.is --- So the in-base regex implementation is badly broken --=20 Additional problems (presumably with the regex lib also) are illustrated wi= th the following: '=C3=BE' is the LATIN1 character THORN (0xfe) $ env LC_CTYPE=3Dis_IS.ISO8859-1 grep '=C3=BE' grep: trailing backslash (\) $ env LC_CTYPE=3Dis_IS.ISO8859-1 sed 's/=C3=BE/th/' sed: 1: "s/=C3=BE/th/": RE error: trailing backslash (\) $ env LC_CTYPE=3Dis_IS.ISO8859-1 expr "abc=C3=BEdef" : '...=C3=BE...' expr: trailing backslash (\) Any plans to fix this - or revert the change in in-base regex? --=20 You are receiving this mail because: You are the assignee for the bug.=