This may be a theoretical question.
Why the underscore _ is under \w in the regex and not under \w
I hope this is not based primarily on opinions, because there must be a reason.
Quoting would be great, if at all available.
regex
Amit joki
source share