about summary refs log tree commit diff
path: root/Test/D01prompt.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-08-14 11:17:48 +0100
committerPeter Stephenson <pws@zsh.org>2017-08-14 11:17:48 +0100
commit74aff4106a4272d86c637c472a04efd46bbec07e (patch)
treef859d94e5080bb710716f43a8a421ddc4c5532cc /Test/D01prompt.ztst
parentb5f40f415668be88f451dbce956597e77f1bc056 (diff)
downloadzsh-74aff4106a4272d86c637c472a04efd46bbec07e.tar.gz
zsh-74aff4106a4272d86c637c472a04efd46bbec07e.tar.xz
zsh-74aff4106a4272d86c637c472a04efd46bbec07e.zip
41542: Fix pcre logic for extracting matched parentheses.
When we went off the end of the array but measured the length
implicitly, we got lucky before.  After 41308 we were looking up lengths
in stale memory.

Rename some variables, clean up the logic, be easier to understand.

Add tests.
Diffstat (limited to 'Test/D01prompt.ztst')
0 files changed, 0 insertions, 0 deletions