I need to extract a field value from a JSON string using POSIX.2 extended regular expressions (man 7 regex
on Linux): eg. from {"field":"value"}
I'm used to working with Perl-style regex when a simple /"field":"(.*)"/
would do the trick, but the POSIX regex don't seem to have a notion to express capture groups.
Is there a trick to craft a POSIX pattern that will match exactly the JSON value ?