I have this regex:
which returns any character following string "prefix" and it works fine on any online regex engines (e.g. https://regex101.com). The problem is when I use that regex in bash:
grep '(?<=prefix).*$' <<< prefixSTRING
it does not match anything. Why that regex does not work with grep?