Comment: attendance first, then require/required
\ba Unicode word boundary
attendancethe literal text attendance (case sensitive) \ba Unicode word boundary
\W+any character that is not a Unicode word character, repeated at least once
Non-Capturing Group(?:\w+\W+){0,10} {0,10}repeats the group contents below between 0 and 10 times:
\w+a Unicode word character, repeated at least once
\W+any character that is not a Unicode word character, repeated at least once
\ba Unicode word boundary
requirethe literal text require (case sensitive) d?optionally matches the literal d (10010 / 1448 / 6416) (case sensitive)
\ba Unicode word boundary