CARVIEW |
Select Language
HTTP/2 200
date: Wed, 15 Oct 2025 07:47:47 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=193.042768,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=514.441759,nginx;desc="NGINX";dur=0.617373,glb;desc="GLB";dur=137.252458
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: aab62e3
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=h1PkyeXTvuRET8nFNJYtdTZlqww7DVH7VTZ%2FvpJk3ssnBu466bIZLVb0bd8pvQRvjETZE1vJRIsnmJhBb5vAwhCjlkyYd0rVCFiFTyj%2Fici1F0DgBJOMNs1JwpXfNxqB0QmJurFZpPNyxS7sMyQLx%2FvZaWtTcsIAHFwbSxHo8fOEGtWGNb1GP8SGYgJRVv3O8jUbl6pMiNdiQKw9fhjsi5GmYsW34xnA6Rm45ijvE2yxtkJCooglv4j7tzIodS55QZkYND0I1pQa0NE5ug3%2F7A%3D%3D--ukinOeEDTViPr3h8--ceru3Qb%2F6XWISvaSvo33sg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1426133350.1760514467; Path=/; Domain=github.com; Expires=Thu, 15 Oct 2026 07:47:47 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 15 Oct 2026 07:47:47 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CDD2:32B009:15F36FD:1A332FF:68EF51A3
Incorrect identification of \K (not actually) inside lookahead · Issue #18123 · Perl/perl5 · GitHub
No one assignedNo typeNo projectsNo milestoneNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 598
Closed
Labels
Description
Module:
Description
During regex compilation, Perl v5.32 appears to be misidentifying a \K
that occurs
after a nested set of lookaheads as being inside a lookahead, and therefore incorrectly
terminates compilation with:
\K not permitted in lookahead/lookbehind in regex
This is, for example, causing problems for the Regexp::Debugger module,
which injects small lookaheads into regexes to assist with its reporting of
their matching process.
The reported misbehaviour does not occur in Perl v5.30.0 and earlier
(presumably because they didn't prohibit \K
inside lookaheads).
Steps to Reproduce
use v5.32.0;
qr/(?=(?=x)x)\K/;
Expected behavior
This regex should compile correctly. The \K
is not inside a lookahead.
Perl configuration
Summary of my perl5 (revision 5 version 32 subversion 0) configuration:
Platform:
osname=darwin
osvers=18.7.0
archname=darwin-2level
uname='darwin daneel.local 18.7.0 darwin kernel version 18.7.0: mon apr 27 20:09:39 pdt 2020; root:xnu-4903.278.35~1release_x86_64 x86_64 '
config_args='-de -Dprefix=/Users/damian/perl5/perlbrew/perls/perl-5.32.0 -Aeval:scriptdir=/Users/damian/perl5/perlbrew/perls/perl-5.32.0/bin'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV'
optimize='-O3'
cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -mmacosx-version-min=10.14 -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib /usr/lib
libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-lpthread -ldl -lm -lutil -lc
libc=
so=dylib
useshrplib=false
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=bundle
d_dlsymun=undef
ccdlflags=' '
cccdlflags=' '
lddlflags=' -mmacosx-version-min=10.14 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under darwin
Compiled at Jun 27 2020 22:49:58
%ENV:
PERL5LIB="./lib:/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/perl5/darwin-thread-multi-2level/:/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/perl5/darwin-2level/:/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/perl5:/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib"
PERL6LIB="./lib6:/Users/damian/lib/perl6"
PERLBREW_CSHRC_VERSION="0.76"
PERLBREW_HOME="/Users/damian/.perlbrew"
PERLBREW_MANPATH="/Users/damian/perl5/perlbrew/perls/perl-5.32.0/man"
PERLBREW_PATH="/Users/damian/perl5/perlbrew/bin:/Users/damian/perl5/perlbrew/perls/perl-5.32.0/bin"
PERLBREW_PERL="perl-5.32.0"
PERLBREW_ROOT="/Users/damian/perl5/perlbrew"
PERLBREW_VERSION="0.76"
PERL_MB_OPT="--install_base /Users/damian/perl5/perlbrew/perls/perl-5.32.0/"
PERL_MM_OPT="INSTALL_BASE=/Users/damian/perl5/perlbrew/perls/perl-5.32.0/"
@INC:
./lib
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/perl5/darwin-thread-multi-2level/
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/perl5/darwin-2level/
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/perl5/darwin-2level
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/perl5
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/darwin-2level
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/site_perl/5.32.0/darwin-2level
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/site_perl/5.32.0
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/darwin-2level
/Users/damian/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Issue actions
You can’t perform that action at this time.