[AC21.4] Minor doc and code clarity improvements in regex.c