|
2025-11-11
| ||
| 19:52 | • Closed ticket [cb03e57a7b]: Non-existent variables are ignored if re is {} p... artifact: c16f71df53 user: jan.nijtmans | |
| 16:20 | Bug [cb03e57a] - raise error on empty regexp if variable not resolvable. Update changes check-in: a7fc1a9456 user: jan.nijtmans tags: core-8-6-branch | |
|
2025-11-09
| ||
| 09:57 | Merge 9.0. Bug [cb03e57a] - raise error on empty regexp for unresolved variable. check-in: 2ab1a13679 user: apnadkarni tags: trunk, main | |
| 09:35 | Bug [cb03e57a] - raise error on empty regexp for unresolved variable check-in: 58edb33420 user: apnadkarni tags: core-9-0-branch, core-9-0-3-rc | |
|
2025-11-08
| ||
| 23:23 | • Ticket [cb03e57a7b] Non-existent variables are ignored if re is {} status st... artifact: ceee230a5d user: jan.nijtmans | |
| 07:43 | • Ticket [cb03e57a7b]: 3 changes artifact: ac9ce1b840 user: apnadkarni | |
| 07:41 | Bug [cb03e57a] - raise error on empty regexp if variable not resolvable closed check-in: ba9332a5b4 user: apnadkarni tags: bug-cb03e57a | |
| 06:45 | • Ticket [cb03e57a7b] Non-existent variables are ignored if re is {} status st... artifact: a581c46c07 user: apnadkarni | |
| 02:19 | • Ticket [cb03e57a7b]: 5 changes artifact: 9f19852e9a user: stu | |
|
2020-10-21
| ||
| 02:19 | • New ticket [cb03e57a7b]. artifact: 71c640b446 user: stu | |
Non-existent variables are ignored if re is {}
Closed / Fixedcb03e57a7b24d22c071acc1b00bc1d91649d1d79Created 6 years agoUpdated 1 year ago
Descriptionplain2020-10-21 02:19:14
"This should not be!"
% unset -nocomplain q
% regexp {.} $q
can't read "q": no such variable
% regexp {} $q
1
stu (claiming to be Stu)plain2025-11-08 02:19:14
Same result with 9.0.3rc0.
emiliano on chat pointed out that this yields the same result as well:
% regexp {} [set q]
1
apnadkarnimarkdown2025-11-08 06:45:43
% set regexp regexp
regexp
% $regexp {} $q
can't read "q": no such variable
So looks like an issue with the byte compiled form.
apnadkarnimarkdown2025-11-08 07:43:11
Proposed fix in branch bug-cb03e57a.
jan.nijtmanswiki2025-11-08 23:23:31
+1. Let's fix this for 9.0.3
jan.nijtmanswiki2025-11-11 19:52:09
Fixed [here]
Log in (anonymous is fine) to add a comment.