acme: regex not mathing as much as possible
Author: pedramosCreated Aug 4, 2023Updated Aug 11, 2023
Considering the following text:
abc xyzThe following Edit command:
Edit ,x/[a-z]+/ s/.*/T&/gShould result in
Tabc TxyzBut it seems like x is capturing single chars only, instead the full 3 char group, so the command results in :
TaTbTc TxTyTzI tried to find the problem to fix it myself but could not find where the bug is. It seems to work fine in go sam and plan9port acme.
Source: 9fans/go