Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
dccfaa41
Commit
dccfaa41
authored
Oct 04, 2020
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcre: upgrade to 8.43
parent
600dd54e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
12 deletions
+22
-12
deps/pcre/LICENCE
+5
-5
deps/pcre/pcre.h
+2
-2
deps/pcre/pcre_compile.c
+14
-4
deps/pcre/pcre_jit_compile.c
+1
-1
No files found.
deps/pcre/LICENCE
View file @
dccfaa41
...
...
@@ -25,7 +25,7 @@ Email domain: cam.ac.uk
University of Cambridge Computing Service,
Cambridge, England.
Copyright (c) 1997-201
8
University of Cambridge
Copyright (c) 1997-201
9
University of Cambridge
All rights reserved.
...
...
@@ -34,9 +34,9 @@ PCRE JUST-IN-TIME COMPILATION SUPPORT
Written by: Zoltan Herczeg
Email local part: hzmester
Emai
n
domain: freemail.hu
Emai
l
domain: freemail.hu
Copyright(c) 2010-201
8
Zoltan Herczeg
Copyright(c) 2010-201
9
Zoltan Herczeg
All rights reserved.
...
...
@@ -45,9 +45,9 @@ STACK-LESS JUST-IN-TIME COMPILER
Written by: Zoltan Herczeg
Email local part: hzmester
Emai
n
domain: freemail.hu
Emai
l
domain: freemail.hu
Copyright(c) 2009-201
8
Zoltan Herczeg
Copyright(c) 2009-201
9
Zoltan Herczeg
All rights reserved.
...
...
deps/pcre/pcre.h
View file @
dccfaa41
...
...
@@ -42,9 +42,9 @@ POSSIBILITY OF SUCH DAMAGE.
/* The current PCRE version information. */
#define PCRE_MAJOR 8
#define PCRE_MINOR 4
2
#define PCRE_MINOR 4
3
#define PCRE_PRERELEASE
#define PCRE_DATE 201
8-03-20
#define PCRE_DATE 201
9-02-23
#define PCRE_EXP_DECL extern
...
...
deps/pcre/pcre_compile.c
View file @
dccfaa41
...
...
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
Copyright (c) 1997-201
6
University of Cambridge
Copyright (c) 1997-201
8
University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
...
...
@@ -3299,7 +3299,7 @@ for(;;)
if
((
*
xclass_flags
&
XCL_MAP
)
==
0
)
{
/* No bits are set for characters < 256. */
if
(
list
[
1
]
==
0
)
return
TRUE
;
if
(
list
[
1
]
==
0
)
return
(
*
xclass_flags
&
XCL_NOT
)
==
0
;
/* Might be an empty repeat. */
continue
;
}
...
...
@@ -7647,6 +7647,8 @@ for (;; ptr++)
/* Can't determine a first byte now */
if
(
firstcharflags
==
REQ_UNSET
)
firstcharflags
=
REQ_NONE
;
zerofirstchar
=
firstchar
;
zerofirstcharflags
=
firstcharflags
;
continue
;
...
...
@@ -8687,10 +8689,18 @@ do {
if
(
!
is_anchored
(
scode
,
new_map
,
cd
,
atomcount
))
return
FALSE
;
}
/* Positive forward assertion
s and conditions
*/
/* Positive forward assertion */
else
if
(
op
==
OP_ASSERT
||
op
==
OP_COND
)
else
if
(
op
==
OP_ASSERT
)
{
if
(
!
is_anchored
(
scode
,
bracket_map
,
cd
,
atomcount
))
return
FALSE
;
}
/* Condition; not anchored if no second branch */
else
if
(
op
==
OP_COND
)
{
if
(
scode
[
GET
(
scode
,
1
)]
!=
OP_ALT
)
return
FALSE
;
if
(
!
is_anchored
(
scode
,
bracket_map
,
cd
,
atomcount
))
return
FALSE
;
}
...
...
deps/pcre/pcre_jit_compile.c
View file @
dccfaa41
...
...
@@ -9002,7 +9002,7 @@ if (exact > 1)
#ifdef SUPPORT_UTF
&&
!
common
->
utf
#endif
)
&&
type
!=
OP_ANYNL
&&
type
!=
OP_EXTUNI
)
{
OP2
(
SLJIT_ADD
,
TMP1
,
0
,
STR_PTR
,
0
,
SLJIT_IMM
,
IN_UCHARS
(
exact
));
add_jump
(
compiler
,
&
backtrack
->
topbacktracks
,
CMP
(
SLJIT_GREATER
,
TMP1
,
0
,
STR_END
,
0
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment