ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.41k stars 43 forks source link

Solve discrepancy between ~ and =~ with regards to RegExp results #506

Open ilyash opened 2 years ago

ilyash commented 2 years ago

if m = p.attrs().doc[''][0] ~ /Represents a (\w+)/ - has m[1] but it doesn't if using =~.