🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: perl.perl6.compiler
Article #1

ECMA262Regex compiled regexes cannot be made case insensitive due to escapes

#1
From: Francis Grizzly Smit
Date: Sun, 12 Feb 2023 20:45
44 lines
8046 bytes
--------------245K3wPoP2BkroNNT51ir5Oi
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi to the guys from ECMA262Regex
   I have looked at putting options on the results of 
`ECMA262Regex.as-perl6($str)` but due to the fact you translate 
character consts to `\code` escapes :ignorecase does not work, is there 
any reason you don't translate to `'char'`   ????

-- 

    .~.     There are many things that I love....
    /V\         but God Comes way above all else❣❣❣❣
   /( )\    Francis (Grizzly) Smit
   ^^-^^http://www.smit.id.au/

--------------245K3wPoP2BkroNNT51ir5Oi
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi to the guys from ECMA262Regex <br>
        I have looked at putting options on the results of
      `ECMA262Regex.as-perl6($str)` but due to the fact you translate
      character consts to `\code` escapes :ignorecase does not work, is
      there any reason you don't translate to `'char'`   ????<br>
      <br>
      -- <br>
    </p>
    <pre>   .~.     There are many things that I love....
   /V\         but God Comes way above all else❣❣❣❣
  /( )\    Francis (Grizzly) Smit
  ^^-^^    <a class="moz-txt-link-freetext" href="http://www.smit.id.au/">http://www.smit.id.au/</a>
</pre>
  </body>
</html>

--------------245K3wPoP2BkroNNT51ir5Oi--
Technical Details
Message-ID: <ef708fe7-7686-55f2-f4bd-6a94da589153@smit.id.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.org

Show Full Headers
Complete Article Headers
Message-ID: <ef708fe7-7686-55f2-f4bd-6a94da589153@smit.id.au>
Subject: ECMA262Regex compiled regexes cannot be made case insensitive due to escapes
Date: Mon, 13 Feb 2023 07:45:13 +1100
From: grizzly@smit.id.au (Francis Grizzly Smit)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.org
Newsgroups: perl.perl6.compiler
Return-Path: <grizzly@smit.id.au>
Mailing-List: contact perl6-compiler-help@perl.org; run by ezmlm
Delivered-To: mailing list perl6-compiler@perl.org
Received: (qmail 20804 invoked from network); 12 Feb 2023 20:45:29 -0000
Received: from xx1.develooper.com (147.75.38.233) by x6.develooper.com with
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by
 localhost (Postfix) with SMTP id 12D6D7C1A2 for
 (PST)
Received: from postfix-inbound-v2-8.inbound.mailchannels.net
 (inbound-egress-5.mailchannels.net [199.10.31.237]) (using TLSv1 with cipher
 DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by
 xx1.develooper.com (Postfix) with ESMTPS id 557537C18B for
Received: from inbound-trex-2 (unknown [127.0.0.6]) by
 postfix-inbound-v2-8.inbound.mailchannels.net (Postfix) with ESMTP id
 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1676234718; a=rsa-sha256;
 cv=none;
 b=4Gl+8a5eWDEVKQUGUZOS/D8DYSXeFAsTfPJsQz0HWtukwxa+e4PjMS7FATpvbe1rV8ofL8
 jWwLTfCyk+YHL3jNmSXgR/Nx9MctR/iny205lQkKcSycyas7ZHg8gckD/CbzePLV3Hyfq3
 R0WWsQN4/ZeBfp3S9lmI0K3pm4SaM6DFnRD3qw1D8YrAb2rotsntdGOUrb5GzH1jID+spI
 K32n7SJHhS7X2evpsido9xAh4vdTZSiuwEhoLUE2UjwiGcTTg9NTcSKi7xb8r0bdrH92D6
 ZA2426NG24oxTqDgDPBk17D0vNzc8G2gSxwipEFg4wU038WVjXziUCDhcO2zrA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1676234718;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature;
 bh=0WD/NxdZZS6PNaaFM8wPqFY4IYbp9DcIXnzKP/Xg1MY=;
 b=gqHF3zaJmxRvegZw1s80360/jPKD/OMWV/HQIP2KSzlIPjKG5m8ldYTbq80AfMlnhnhEUs
 J53R+c9O5aK5SL01l+u8VGP1sNXJ+VxodL0CTwa3m0jpJe63a1HAK43CQKjjMV3Tt2KDRs
 UZNeO1KuYbA1LlQDtupVNbPA1SIUe2Ixiv9RUqVLBroPe52xRE867tEku6C9dPgWvgw4Yg
 IPk06FrI95HzBvQgSdr3i/5YjAhH6mVZYrGeTRJXevlijn27wMruDjTfbN1zrc8nr+2A+p
 WKSRaCtsK1POWNf20637eLHRFoeohuHFu6cVYC2e+k4INPLqDYPtUs4hCe1xDg==
ARC-Authentication-Results: i=1; inbound-rspamd-584b957477-74rlz; none
X-Message-ID: dU29cnlnoN7ewmOzyj1RUpoe
Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com
 [209.85.216.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256) by
Authentication-Results: inbound.mailchannels.net; spf=pass
 smtp.mailfrom=grizzly@smit.id.au; dkim=pass
 header.d=smit-id-au.20210112.gappssmtp.com; dmarc=none; arc=none
Received-SPF: pass (dmarc-service-865cf8d596-vp4jm: domain of smit.id.au
 designates 209.85.216.47 as permitted sender) client-ip=209.85.216.47;
 envelope-from=grizzly@smit.id.au; helo=mail-pj1-f47.google.com;
Received: by mail-pj1-f47.google.com with SMTP id
 f16-20020a17090a9b1000b0023058bbd7b2so10384017pjp.0 for
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=smit-id-au.20210112.gappssmtp.com; s=20210112;
 h=subject:from:to:content-language:user-agent:mime-version:date
 :message-id:from:to:cc:subject:date:message-id:reply-to;
 bh=0WD/NxdZZS6PNaaFM8wPqFY4IYbp9DcIXnzKP/Xg1MY=;
 b=MLqEtbwp2rqr43dyhI66Y2fHz4Kw7S1RaLo42hY2jJXPTDcC2/l13B9OFO63p0cSlq
 grRS7QA8gNMTArdV3z8voj5XP7fbKjS83qVnTFQLHJXPgqsZtdZSLE7MSl6FQvjfocFi
 WspryyU1udy3ITuOhINHdWe1SDZkhIKB7cW4gj/Ml6KFImANFI7XX56Q5ulCNmTG38hZ
 860d2vi4d/k/1xGSBxt6eH1LgxtNbFIiFSFjyX8Fxxyl3iM/Nh36Ikh1vdBmZ7Sm58TN
 YPXNvBbKwP+tgC45OfMGZi3nCMNPN2sGHmGCL5R7qnXaegpAovHAlaCCAAK3fICH3cWz oa0A==
X-Gm-Message-State: AO0yUKVBzXH43bM0bTW16vcXjVPA1ftvfl+iwfPUn/5SYUTcJN8PjQdf
 yDXinVeeqBSSoeG5MVkcrLmYyhjjGAl7q9TW
X-Received: by 2002:a17:902:930c:b0:199:5111:9987 with SMTP id
 bc12-20020a170902930c00b0019951119987mr11708752plb.32.1676234716091; Sun, 12
Received: from ?IPV6:2403:5807:9246:0:f5d0:22d2:349b:2b28?
 (2403-5807-9246-0-f5d0-22d2-349b-2b28.ip6.aussiebb.net.
 [2403:5807:9246:0:f5d0:22d2:349b:2b28]) by smtp.gmail.com with ESMTPSA id
 m1-20020a170902bb8100b00198e7d97171sm6715777pls.128.2023.02.12.12.45.14 for
 <perl6-compiler@perl.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256
Content-Type: multipart/alternative; boundary="------------245K3wPoP2BkroNNT51ir5Oi"
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.7.1
Content-Language: en-US
To: perl6-compiler@perl.org
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data:
 2023.2.12.203030
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report='
 MSGID_SAMEAS_FROM_HEX_844412 0.1, BODYTEXTH_SIZE_10000_LESS 0,
 BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1500_1599 0, BODY_SIZE_2000_LESS 0,
 BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DKIM_SIGNATURE 0,
 FROM_NAME_PHRASE 0, HREF_LABEL_TEXT_ONLY 0, KNOWN_MTA_TFX 0, NO_URI_HTTPS 0,
 SINGLE_HREF_URI_IN_BODY 0, SINGLE_URI_IN_BODY 0, SPF_PASS 0, SXL_IP_TFX_WM 0,
 WEBMAIL_SOURCE 0, __ANY_URI 0, __AUTH_RES_DKIM_PASS 0, __AUTH_RES_PASS 0,
 __BAT_BOUNDARY 0, __BODY_NO_MAILTO 0, __BODY_TEXT_X4 0, __CP_URI_IN_BODY 0,
 __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0,
 __DQ_NEG_DOMAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FRAUD_MONEY_CURRENCY 0,
 __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_MONEY_CURRENCY_POUND 0,
 __FROM_NAME_NOT_IN_BODY 0, __FUR_HEADER 0, __FUR_RDNS_GMAIL 0, __HAS_FROM 0,
 __HAS_HTML 0, __HAS_MSGID 0, __HEADER_ORDER_FROM 0, __HELO_GMAIL 0,
 __HIGHBITS 0, __HREF_LABEL_TEXT 0, __HREF_LABEL_URI 0, __HTML_AHREF_TAG 0,
 __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0,
 __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0,
 __MOZILLA_USER_AGENT 0, __MSGID_HEX_844412 0, __MULTIPLE_URI_TEXT 0,
 __RCVD_FROM_SUSP_HOSTNAME 0, __RCVD_PASS 0, __RDNS_WEBMAIL 0, __SANE_MSGID 0,
 __SINGLE_URI_MPART_BOTH 0, __SUBJ_ALPHA_END 0, __TAG_EXISTS_HTML 0,
 __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_ENDS_IN_SLASH 0, __URI_IN_BODY 0,
 __URI_NOT_IMG 0, __URI_NO_MAILTO 0, __URI_NO_PATH 0, __URI_NS ,
 __URI_WITHOUT_PATH 0, __USER_AGENT 0, __X_GM_MESSAGE_STATE 0,
 __X_GOOGLE_DKIM_SIGNATURE 0, __X_GOOGLE_SMTP_SOURCE 0, __YOUTUBE_RCVD 0,
 __zen.spamhaus.org_ERROR '
Approved: news@nntp.perl.org