Haha, not quite - work!
We have a content checker to detect uuencoded strings before it enters a very strict environment and I need to detect that rule above to prevent what could be a uuencoded string.
---------- Post updated at 02:02 PM ---------- Previous update was at 01:43 PM ----------
So I think the regex would be:
A.{5,6}<
But I am very inexperienced with sed so any help on that part would be much appreciated.
Yes. What you called a "group", the standards refer to as a "subexpression". In cases where subexpressions are nested, the opening \( sequence determines the subexpression number. The number of subexpressions allowed in a BRE isn't usually limited, but back references ( \digit ) in the replacement string can only reference the 1st nine subexpressions. (In a replacement string, \10 refers to the string match by the 1st subexpressoin followed by a 0 ; not the string matched by the 10th subexpression.)