Project

General

Profile

Actions

Bug #5363

closed

$bfind().regex does not populate $regml() properly

Added by westor (GR) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
07/24/2021
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

It seems /bcopy doesn't work in the following case.

//bset -t &a 1 one two three | if ($bfind(&a,1,/((?:^| )two)(?= |$)/).regex) { bcopy -c &a $regml(1).pos &a $calc($regml(1).pos + $len($regml(1))) -1 } | echo -a $bvar(&a,1-).text

- Thanks!

Actions

Also available in: Atom PDF