\b can be replicated as (?<=\w)(?=\W)|(?<=\W)(?=\w)
Understanding how to create these class transitions can be beneficial for several reasons. In this instance, counting the results of this regex can be used to measure randomness within strings containing multiple character classes.