forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb44d92b
committed
Sync regex code with Tcl 8.6.4.
Sync our regex code with upstream changes since last time we did this,which was Tcl 8.5.11 (see commit08fd6ff).The only functional change here is to disbelieve that an octal escape isthree digits long if it would exceed \377. That's a bug fix, but it'sa minor one and could change the interpretation of working regexes, sodon't back-patch.In addition to that, s/INFINITY/DUPINF/ to eliminate the risk of collisionswith <math.h>'s macro, and s/LOCAL/NOPROP/ because that also seems likean unnecessarily collision-prone macro name.There were some other cosmetic changes in their copy that I did not adopt,notably a rather half-hearted attempt at renaming some of the C functionsin a more verbose style. (I'm not necessarily against the concept, butrenaming just a few functions in the package is not an improvement.)1 parentd0f18cd commitb44d92b
File tree
4 files changed
+21
-18
lines changed- src
- backend/regex
- include/regex
4 files changed
+21
-18
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
860 | 860 |
| |
861 | 861 |
| |
862 | 862 |
| |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
863 | 869 |
| |
864 | 870 |
| |
865 | 871 |
| |
|
Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
960 | 960 |
| |
961 | 961 |
| |
962 | 962 |
| |
963 |
| - | |
| 963 | + | |
964 | 964 |
| |
965 | 965 |
| |
966 | 966 |
| |
967 | 967 |
| |
968 | 968 |
| |
969 |
| - | |
| 969 | + | |
970 | 970 |
| |
971 | 971 |
| |
972 | 972 |
| |
| |||
984 | 984 |
| |
985 | 985 |
| |
986 | 986 |
| |
987 |
| - | |
| 987 | + | |
988 | 988 |
| |
989 | 989 |
| |
990 | 990 |
| |
| |||
1146 | 1146 |
| |
1147 | 1147 |
| |
1148 | 1148 |
| |
1149 |
| - | |
1150 |
| - | |
| 1149 | + | |
| 1150 | + | |
1151 | 1151 |
| |
1152 | 1152 |
| |
1153 | 1153 |
| |
| |||
1268 | 1268 |
| |
1269 | 1269 |
| |
1270 | 1270 |
| |
1271 |
| - | |
| 1271 | + | |
1272 | 1272 |
| |
1273 | 1273 |
| |
1274 | 1274 |
| |
| |||
2026 | 2026 |
| |
2027 | 2027 |
| |
2028 | 2028 |
| |
2029 |
| - | |
| 2029 | + | |
2030 | 2030 |
| |
2031 | 2031 |
| |
2032 | 2032 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
865 | 865 |
| |
866 | 866 |
| |
867 | 867 |
| |
868 |
| - | |
| 868 | + | |
869 | 869 |
| |
870 | 870 |
| |
871 | 871 |
| |
| |||
964 | 964 |
| |
965 | 965 |
| |
966 | 966 |
| |
967 |
| - | |
| 967 | + | |
968 | 968 |
| |
969 | 969 |
| |
970 | 970 |
| |
| |||
1149 | 1149 |
| |
1150 | 1150 |
| |
1151 | 1151 |
| |
1152 |
| - | |
| 1152 | + | |
1153 | 1153 |
| |
1154 | 1154 |
| |
1155 | 1155 |
| |
|
Lines changed: 5 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 | 81 |
| |
85 | 82 |
| |
86 | 83 |
| |
| |||
95 | 92 |
| |
96 | 93 |
| |
97 | 94 |
| |
98 |
| - | |
| 95 | + | |
99 | 96 |
| |
100 | 97 |
| |
101 | 98 |
| |
| |||
419 | 416 |
| |
420 | 417 |
| |
421 | 418 |
| |
422 |
| - | |
| 419 | + | |
423 | 420 |
| |
424 | 421 |
| |
425 |
| - | |
| 422 | + | |
426 | 423 |
| |
427 | 424 |
| |
428 |
| - | |
| 425 | + | |
429 | 426 |
| |
430 |
| - | |
| 427 | + | |
431 | 428 |
| |
432 | 429 |
| |
433 | 430 |
| |
|
0 commit comments
Comments
(0)