util.c: Add comment.

I wonder if we need to worry about compatibility with a 1994 libc?
Add tests

These are for commit 421e43ba3017755892f18a5690b66a6ed8717fa9
Make a literal "{" fatal after \b and \B in regexes

These have been deprecated since v5.14.